Skip to content

Commit

Permalink
fix: macos-12 is deprecated in github, moving to macos-13
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Dec 5, 2024
1 parent c15f279 commit 6a10029
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/desktop-mac-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
test-desktop-mac:
runs-on: macos-12
runs-on: macos-13
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tauri-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ macos-12, windows-latest ]
platform: [ macos-13, windows-latest ]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -92,7 +92,7 @@ jobs:
node-version: 20

- name: Download src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: actions/download-artifact@v4
with:
name: src-node-darwin-arm64.tar.gz
Expand All @@ -108,7 +108,7 @@ jobs:
npm run _ci-release:dev
- name: setup src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls /tmp/src-node-darwin-arm64.tar.gz
rm -rf src-node
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
Set-Content -Path "./secrets.json" -Value $content
shell: powershell
- name: Sign embedded executables for (Mac Only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
env :
APPLE_KEY_IDENTITY_NAME: ${{ secrets.APPLE_KEY_IDENTITY_NAME }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
tagName: ${{ env.GIT_TAG_NAME }}

- name: inject src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls src-node
rm -rf src-tauri/src-node
Expand All @@ -239,12 +239,12 @@ jobs:
- name: setup env for mac arm (Mac only)
env:
GH_TOKEN: ${{ github.token }}
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
rustup target add aarch64-apple-darwin
npm run installNodeArmDarwin
- name: build for mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tauri-build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ macos-12, windows-latest ]
platform: [ macos-13, windows-latest ]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -92,7 +92,7 @@ jobs:
node-version: 20

- name: Download src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: actions/download-artifact@v4
with:
name: src-node-darwin-arm64.tar.gz
Expand All @@ -108,7 +108,7 @@ jobs:
npm run _ci-release:prod
- name: setup src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls /tmp/src-node-darwin-arm64.tar.gz
rm -rf src-node
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
shell: powershell

- name: Sign embedded executables for (Mac Only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
env :
APPLE_KEY_IDENTITY_NAME: ${{ secrets.APPLE_KEY_IDENTITY_NAME }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
tagName: ${{ env.GIT_TAG_NAME }}

- name: inject src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls src-node
rm -rf src-tauri/src-node
Expand All @@ -240,12 +240,12 @@ jobs:
- name: setup env for mac arm (Mac only)
env:
GH_TOKEN: ${{ github.token }}
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
rustup target add aarch64-apple-darwin
npm run installNodeArmDarwin
- name: build for mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tauri-build-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ macos-12, windows-latest ]
platform: [ macos-13, windows-latest ]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -92,7 +92,7 @@ jobs:
node-version: 20

- name: Download src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: actions/download-artifact@v4
with:
name: src-node-darwin-arm64.tar.gz
Expand All @@ -106,7 +106,7 @@ jobs:
npm run _ci-release:staging
- name: setup src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls /tmp/src-node-darwin-arm64.tar.gz
rm -rf src-node
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
Set-Content -Path "./secrets.json" -Value $content
shell: powershell
- name: Sign embedded executables for (Mac Only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
env :
APPLE_KEY_IDENTITY_NAME: ${{ secrets.APPLE_KEY_IDENTITY_NAME }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
tagName: ${{ env.GIT_TAG_NAME }}

- name: inject src-node built on mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
ls src-node
rm -rf src-tauri/src-node
Expand All @@ -237,12 +237,12 @@ jobs:
- name: setup env for mac arm (Mac only)
env:
GH_TOKEN: ${{ github.token }}
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
run: |
rustup target add aarch64-apple-darwin
npm run installNodeArmDarwin
- name: build for mac arm (Mac only)
if: matrix.platform == 'macos-12'
if: matrix.platform == 'macos-13'
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 6a10029

Please sign in to comment.