Skip to content

Commit

Permalink
Migrate to the ubuntu-24.04 GitHub Actions runner
Browse files Browse the repository at this point in the history
The ubuntu-20.04 runner is due to be deprecated on 2025-02-01 and unsupported by 2025-04-01.
  • Loading branch information
Ortham committed Jan 13, 2025
1 parent e7f1efe commit 4253b37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

env:
LIBLOOT_VERSION: 0.24.5
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCPACK_PACKAGE_VERSION="${{ steps.get-version.outputs.version }}"
cmake .. -G "Visual Studio 16 2019" -A x64 -DCPACK_PACKAGE_VERSION="${{ steps.get-version.outputs.version }}"
cmake --build . --config ${{ env.MSVC_CONFIG }}
- name: Build archive
Expand All @@ -127,7 +127,7 @@ jobs:
cd build
cpack -C ${{ env.MSVC_CONFIG }}
VERSION="${{ steps.get-version.outputs.version }}"
echo "filename=metadata-validator-${VERSION}-win32.7z" >> $GITHUB_OUTPUT
echo "filename=metadata-validator-${VERSION}-win64.7z" >> $GITHUB_OUTPUT
- name: Upload archive
uses: actions/upload-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
create_release:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
git_tag: ${{ steps.get-git-tag.outputs.name }}
Expand All @@ -32,7 +32,7 @@ jobs:
The `metadata-validator.tar.xz` file contains a Linux binary.
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: create_release

env:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCPACK_PACKAGE_VERSION="${{ steps.get-version.outputs.version }}"
cmake .. -G "Visual Studio 16 2019" -A x64 -DCPACK_PACKAGE_VERSION="${{ steps.get-version.outputs.version }}"
cmake --build . --config ${{ env.MSVC_CONFIG }}
- name: Build archive
Expand All @@ -152,7 +152,7 @@ jobs:
cd build
cpack -C ${{ env.MSVC_CONFIG }}
VERSION="${{ steps.get-version.outputs.version }}"
echo "filename=metadata-validator-${VERSION}-win32.7z" >> $GITHUB_OUTPUT
echo "filename=metadata-validator-${VERSION}-win64.7z" >> $GITHUB_OUTPUT
- name: Upload Archive
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 4253b37

Please sign in to comment.