Skip to content

Commit

Permalink
get windows 2025 added
Browse files Browse the repository at this point in the history
  • Loading branch information
e-perl-NOAA committed Dec 30, 2024
1 parent 9cc3e58 commit c9452a0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/github-actions-runners-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit c9452a0

Please sign in to comment.