GitHub Actions: Get the latest WordPress version in a step

In a GitHub Action workflow, grab the latest WordPress version in a step and set it as an environment variable.
Santa Monica Senior WordPress Developer
Santa Monica Senior WordPress Developer
Initially some time in 2020 I was looking for a way to trigger some custom actions when I put my Macbook Pro to sleep. I found someone asked this same question in 2011 on Apple Stake Exchange The best answer,…
The past two weeks (including this one) I’ve helped push three WordPress plugin updates to help support some changes to that occurred in WordPress 5.5. Custom Login 3.2.10 The first being a personal plugin I have been working on for…