From 900beee471a5a60030044abd4eb71a8b73e64b2e Mon Sep 17 00:00:00 2001 From: MayGo Date: Wed, 13 Nov 2024 12:36:09 +0200 Subject: [PATCH] rename env names --- .github/workflows/build.yml | 16 ++++++++-------- electron/scripts/notarize.js | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6491c96..8492f97a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,20 +85,20 @@ jobs: run: | cd electron echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> .env - echo "APPLEID=${{ secrets.APPLEID }}" >> .env - echo "APPLEIDPASS=${{ secrets.APPLEIDPASS }}" >> .env - echo "TEAM_ID=${{ secrets.TEAM_ID }}" >> .env + echo "APPLE_ID=${{ secrets.APPLE_ID }}" >> .env + echo "APPLE_ID_PASSWORD=${{ secrets.APPLE_ID_PASSWORD }}" >> .env + echo "APPLE_TEAM_ID=${{ secrets.APPLE_TEAM_ID }}" >> .env cd .. - name: Build and Release Electron App env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEBUG: electron-builder,electron-builder:* - CSC_LINK: ${{ secrets.MAC_CERT_BASE64 }} - CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }} - APPLE_ID: ${{ secrets.APPLEID }} - APPLE_ID_PASSWORD: ${{ secrets.APPLEIDPASS }} - APPLE_TEAM_ID: ${{ secrets.TEAM_ID }} + CSC_LINK: ${{ secrets.CSC_LINK }} + CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} + APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: | cd electron yarn build diff --git a/electron/scripts/notarize.js b/electron/scripts/notarize.js index ee83dec7..da1308b3 100644 --- a/electron/scripts/notarize.js +++ b/electron/scripts/notarize.js @@ -27,9 +27,9 @@ exports.default = async function notarizing(context) { await notarize({ tool: 'notarytool', appPath, - teamId: process.env.TEAM_ID, - appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEIDPASS, + teamId: process.env.APPLE_TEAM_ID, + appleId: process.env.APPLE_ID, + appleIdPassword: process.env.APPLE_ID_PASSWORD, }); console.info('Notarization completed successfully');