mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-05-15 23:31:09 -04:00
fix: provide teamid to notarytool
This commit is contained in:
parent
6c941840d3
commit
bc6cb6e2b4
3 changed files with 6 additions and 3 deletions
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
|
@ -28,6 +28,8 @@ jobs:
|
|||
SCRATCH_SHOULD_SIGN: ${{ github.ref_name == 'develop' && matrix.os != 'windows-latest' }}
|
||||
AC_USERNAME: ${{ (github.ref_name == 'develop' && secrets.AC_USERNAME) || '' }}
|
||||
AC_PASSWORD: ${{ (github.ref_name == 'develop' && secrets.AC_PASSWORD) || '' }}
|
||||
# Required for notarization on Mac
|
||||
AC_TEAM_ID: ${{ secrets.AC_TEAM_ID || 'W7AR3WMP87' }}
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
app_identifier "edu.mit.scratch.scratch-desktop" # The bundle identifier of your app
|
||||
apple_id "bot-apple@scratch.mit.edu" # Your Apple email address
|
||||
team_id "W7AR3WMP87"
|
||||
app_identifier("edu.mit.scratch.scratch-desktop") # The bundle identifier of your app
|
||||
apple_id("bot-apple@scratch.mit.edu") # Your Apple email address
|
||||
team_id(ENV.fetch("AC_TEAM_ID"))
|
||||
|
|
|
@ -30,6 +30,7 @@ const notarizeMacBuild = async function (context) {
|
|||
appPath: `${appOutDir}/${productFilename}.app`,
|
||||
appleId,
|
||||
appleIdPassword: process.env.AC_PASSWORD || `@keychain:${appleIdKeychainItem}`,
|
||||
teamId: process.env.AC_TEAM_ID || '',
|
||||
tool: 'notarytool'
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue