diff --git a/.github/workflows/github-actions-runners-updates.yml b/.github/workflows/github-actions-runners-updates.yml index e6c6433..ca1a232 100644 --- a/.github/workflows/github-actions-runners-updates.yml +++ b/.github/workflows/github-actions-runners-updates.yml @@ -25,7 +25,7 @@ jobs: - name: Setup R uses: r-lib/actions/setup-r@v2 - + - name: Get all github actions runner releases and list the unique runner names (not including pre-releases) run: | RELEASES=$(curl -s https://api.github.com/repos/actions/runner-images/releases) @@ -84,6 +84,13 @@ jobs: echo "$RELEASE_WINDOWS" > windows.txt echo "$RELEASE_WINDOWS" + - name: Get latest release windows 2025 + run: | + RELEASES=$(curl -s https://api.github.com/repos/actions/runner-images/releases) + RELEASE_WINDOWS=$(echo "$RELEASES" | jq -r '.[] | select(.prerelease == false) | .tag_name' | sort -r | grep win25 | head -n1) + echo "$RELEASE_WINDOWS" > windows.txt + echo "$RELEASE_WINDOWS" + - name: Read in txt files of releases and see if there are any differences in release versions from the reference file id: version_diff run: |