From a4578d5a6100d3454e0560f0b5bb8f607912c35a Mon Sep 17 00:00:00 2001 From: an-lee Date: Sun, 18 Feb 2024 16:21:54 +0800 Subject: [PATCH] update workflow --- .github/workflows/release-enjoy-app.yml | 7 ++++++- .github/workflows/test-enjoy-app.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-enjoy-app.yml b/.github/workflows/release-enjoy-app.yml index 7e5e279ad..87720d50f 100644 --- a/.github/workflows/release-enjoy-app.yml +++ b/.github/workflows/release-enjoy-app.yml @@ -6,7 +6,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, macos-13-xlarge, windows-latest, ubuntu-latest] + os: [macos-latest, windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -18,3 +18,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }} run: yarn publish:enjoy + - if: matrix.os == 'macos-latest' + env: + GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }} + PACKAGE_OS_ARCH: arm64 + run: yarn run publish:enjoy --arch=arm64 diff --git a/.github/workflows/test-enjoy-app.yml b/.github/workflows/test-enjoy-app.yml index c8bc4f67e..de2908d40 100644 --- a/.github/workflows/test-enjoy-app.yml +++ b/.github/workflows/test-enjoy-app.yml @@ -20,7 +20,7 @@ jobs: [ macos-latest, macos-13, - macos-13-xlarge, + macos-14, windows-2019, windows-latest, ubuntu-20.04,