Skip to content

Commit

Permalink
rename env names
Browse files Browse the repository at this point in the history
  • Loading branch information
MayGo committed Nov 13, 2024
1 parent 4bc0a8e commit 900beee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions electron/scripts/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 900beee

Please sign in to comment.