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