From 4a1c733b29f649f48d4784970308eb370bb724f8 Mon Sep 17 00:00:00 2001 From: toyobayashi Date: Mon, 22 Apr 2024 23:19:47 +0800 Subject: [PATCH] ci: add macos-14 --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e5c66be..f85f030 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest, macos-13] + os: [windows-latest, ubuntu-latest, macos-13, macos-14] steps: - uses: actions/checkout@v2 @@ -57,13 +57,17 @@ jobs: MISHIRO_NO_PROGRESS: '1' - name: Pack x64 - if: ${{ startsWith(github.event.ref, 'refs/tags') }} + if: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.os != 'macos-14' }} run: cd app&&npm run pack:x64&&cd .. - name: Pack ia32 if: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.os == 'windows-latest' }} run: cd app&&npm run pack:ia32&&cd .. + - name: Pack arm64 + if: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.os == 'macos-14' }} + run: cd app&&npm run pack:arm64&&cd .. + - name: Create release if: ${{ startsWith(github.event.ref, 'refs/tags') }} uses: toyobayashi/upload-release-assets@v3.0.0