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,…
Over the past few weeks I’ve been rewriting my most popular WordPress plugin; Custom Login. It’s been at version 3.x for a little over a year when I rewrote the plugin at the end of twenty fourteen. Version 4 will…