diff options
author | LingMan <LingMan@users.noreply.github.com> | 2022-09-29 04:49:24 +0200 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2022-09-29 07:43:10 -0400 |
commit | 609838aebd17fa44c2532ca7c85ec3f9629e6ac6 (patch) | |
tree | caf789aff5fe1babc7a6c004f3a575b0b34a4690 /.github/workflows/release.yml | |
parent | 515f120b5c2c7984c8dfa8bafeda42916457b0ba (diff) |
ci: use latest runner images in CI
The `ubuntu-18.04` image is deprecated and will be removed by
2023-04-01[1][2] with scheduled brownouts starting on 2022-10-03.
Update all images to the latest available versions.
[1]: https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
[2]: https://github.com/actions/runner-images/issues/6002
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8776d5a..4c81cd1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ on: jobs: create-release: name: create-release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # env: # Set to force version number, e.g., when no tag exists. # RG_VERSION: TEST-0.0.0 @@ -71,27 +71,27 @@ jobs: build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc] include: - build: linux - os: ubuntu-18.04 + os: ubuntu-22.04 rust: nightly target: x86_64-unknown-linux-musl - build: linux-arm - os: ubuntu-18.04 + os: ubuntu-22.04 rust: nightly target: arm-unknown-linux-gnueabihf - build: macos - os: macos-latest + os: macos-12 rust: nightly target: x86_64-apple-darwin - build: win-msvc - os: windows-2019 + os: windows-2022 rust: nightly target: x86_64-pc-windows-msvc - build: win-gnu - os: windows-2019 + os: windows-2022 rust: nightly-x86_64-gnu target: x86_64-pc-windows-gnu - build: win32-msvc - os: windows-2019 + os: windows-2022 rust: nightly target: i686-pc-windows-msvc @@ -102,12 +102,12 @@ jobs: fetch-depth: 1 - name: Install packages (Ubuntu) - if: matrix.os == 'ubuntu-18.04' + if: matrix.os == 'ubuntu-22.04' run: | ci/ubuntu-install-packages - name: Install packages (macOS) - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-12' run: | ci/macos-install-packages @@ -159,7 +159,7 @@ jobs: cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/" cp complete/_rg "$staging/complete/" - if [ "${{ matrix.os }}" = "windows-2019" ]; then + if [ "${{ matrix.os }}" = "windows-2022" ]; then cp "target/${{ matrix.target }}/release/rg.exe" "$staging/" 7z a "$staging.zip" "$staging" echo "ASSET=$staging.zip" >> $GITHUB_ENV |