From e0223b21c93a0bd5c3789dc043ac97bf5d8b67d7 Mon Sep 17 00:00:00 2001 From: Bob Wall Date: Mon, 28 Oct 2024 10:19:57 -0600 Subject: [PATCH] Move off macos-12 for builds (#280) --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 464166d..a7b5d86 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-12, windows-2019] + os: [ubuntu-22.04, macos-14, windows-2019] steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 644d986..462b613 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-22.04, macos-12, windows-2019] + os: [ubuntu-22.04, macos-14, windows-2019] include: - os: windows-2019 ext: .exe @@ -67,22 +67,22 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Download release artifacts from macos-12 + - name: Download release artifacts from macos-14 uses: actions/download-artifact@v4 with: - name: release-macos-12 - path: release/macos-12 + name: release-macos-14 + path: release/macos-14 - name: Delete artifact uses: geekyeggo/delete-artifact@v5 with: - name: release-macos-12 + name: release-macos-14 failOnError: false - - name: Sign artifact for macos-12 + - name: Sign artifact for macos-14 run: | - gpg --batch --detach-sign -a release/macos-12/ironoxide-cli-macos-12 - gpg --batch --verify release/macos-12/ironoxide-cli-macos-12.asc release/macos-12/ironoxide-cli-macos-12 - - name: Upload artifact for macos-12 - run: gh release upload ${{ github.ref }} release/macos-12/ironoxide-cli-macos-12 release/macos-12/ironoxide-cli-macos-12.asc --clobber + gpg --batch --detach-sign -a release/macos-14/ironoxide-cli-macos-14 + gpg --batch --verify release/macos-14/ironoxide-cli-macos-14.asc release/macos-14/ironoxide-cli-macos-14 + - name: Upload artifact for macos-14 + run: gh release upload ${{ github.ref }} release/macos-14/ironoxide-cli-macos-14 release/macos-14/ironoxide-cli-macos-14.asc --clobber env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}