From b17f93cf9bd6cffdf04baa1029d9d5d916e547a9 Mon Sep 17 00:00:00 2001 From: Renaud Heluin Date: Fri, 2 Aug 2024 21:55:21 +0200 Subject: [PATCH] feat: trying to fix `appdmg` error --- .github/workflows/release.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8cd52a..5e69ebb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,16 +85,24 @@ jobs: run: echo ${APPLE_TEAM_ID:0:3} env: APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} - - name: reinstall appdmg - if: matrix.os.image == 'macos-latest' - # https://github.com/actions/runner-images/issues/8796 - run: npm uninstall -g appdmg && npm install -g appdmg + # - name: reinstall appdmg + # if: matrix.os.image == 'macos-latest' + # # https://github.com/actions/runner-images/issues/8796 + # run: npm uninstall -g appdmg && npm install -g appdmg - name: Add MacOS certs if: matrix.os.image == 'macos-latest' run: chmod +x add-osx-cert.sh && ./add-osx-cert.sh env: CERTIFICATE_OSX_APPLICATION: ${{ secrets.APPLE_APPLICATION_CERT }} CERTIFICATE_PASSWORD: ${{ secrets.APPLE_APPLICATION_CERT_PASSWORD }} + - name: Make + run: npm run make:ci + env: + APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} + APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} + APPLE_APPLICATION_CERT: ${{ secrets.APPLE_APPLICATION_CERT }} + KEY_PASSWORD: ${{ secrets.APPLE_APPLICATION_CERT_PASSWORD }} - name: Publish app env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}