Skip to content

Commit

Permalink
Update ubuntu-2(0->2).04 and macos-(11->12). (#140)
Browse files Browse the repository at this point in the history
This just gets ahead of deprecation removals by GH.
  • Loading branch information
jsirois authored Sep 16, 2023
1 parent 6b47049 commit ec05408
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
org-check:
name: Check GitHub Organization
if: github.repository_owner == 'a-scie'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Noop
run: "true"
Expand All @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-11, macos-13-aarch64, windows-2022]
os: [ubuntu-22.04, macos-12, macos-13-aarch64, windows-2022]
steps:
- uses: actions/checkout@v3
- name: Check Formatting
Expand All @@ -37,10 +37,10 @@ jobs:
- name: Unit Tests
run: cargo test --all
- name: Build & Package
if: ${{ matrix.os != 'ubuntu-20.04' }}
if: ${{ matrix.os != 'ubuntu-22.04' }}
run: cargo run -p package
- name: Build & Package
if: ${{ matrix.os == 'ubuntu-20.04' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |
mkdir dist
docker run --rm \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
org-check:
name: Check GitHub Organization
if: ${{ github.repository_owner == 'a-scie' }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Noop
run: "true"
determine-tag:
name: Determine the release tag to operate against.
needs: org-check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
release-tag: ${{ steps.determine-tag.outputs.release-tag }}
release-version: ${{ steps.determine-tag.outputs.release-version }}
Expand All @@ -45,18 +45,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, macos-13-aarch64, windows-2022 ]
os: [ ubuntu-22.04, macos-12, macos-13-aarch64, windows-2022 ]
environment: Release
steps:
- name: Checkout scie-jump ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-tag.outputs.release-tag }}
- name: Package scie-jump ${{ needs.determine-tag.outputs.release-tag }} binary
if: ${{ matrix.os != 'ubuntu-20.04' }}
if: ${{ matrix.os != 'ubuntu-22.04' }}
run: cargo run -p package -- dist
- name: Package scie-jump ${{ needs.determine-tag.outputs.release-tag }} binary
if: ${{ matrix.os == 'ubuntu-20.04' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |
mkdir dist
docker run --rm \
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
needs:
- determine-tag
- github-release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Trigger aarch64 release
uses: CircleCI-Public/[email protected]
Expand Down

0 comments on commit ec05408

Please sign in to comment.