Skip to content

Commit 239e52a

Browse files
committed
ci: team id for notarization
1 parent b060456 commit 239e52a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/actions/agent-package-mac/action.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ inputs:
55
required: true
66
p12-password:
77
required: true
8-
appstore-connect-username:
8+
notarization-username:
99
required: true
10-
appstore-connect-password:
10+
notarization-team:
11+
required: true
12+
notarization-password:
1113
required: true
1214

1315
runs:
@@ -91,7 +93,7 @@ runs:
9193
if: ${{ github.event_name != 'pull_request' }}
9294
shell: sh
9395
run: |
94-
xcrun notarytool submit --wait --apple-id "${{ inputs.appstore-connect-username }}" --password "${{ inputs.appstore-connect-password }}" "${{ env.KLOGG_BUILD_ROOT }}/packages/${{ env.KLOGG_DMG }}"
96+
xcrun notarytool submit --wait --apple-id "${{ inputs.notarization-username }}" --team-id "${{ inputs.notarization-team }}" --password "${{ inputs.notarization-password }}" "${{ env.KLOGG_BUILD_ROOT }}/packages/${{ env.KLOGG_DMG }}"
9597
9698
- name: Mac staple DMG
9799
if: ${{ github.event_name != 'pull_request' }}
@@ -103,7 +105,7 @@ runs:
103105
if: ${{ github.event_name != 'pull_request' }}
104106
shell: sh
105107
run: |
106-
xcrun notarytool submit --wait --apple-id "${{ inputs.appstore-connect-username }}" --password "${{ inputs.appstore-connect-password }}" "${{ env.KLOGG_BUILD_ROOT }}/packages/${{ env.KLOGG_PKG }}"
108+
xcrun notarytool submit --wait --apple-id "${{ inputs.notarization-username }}" --team-id "${{ inputs.notarization-team }}" --password "${{ inputs.notarization-password }}" "${{ env.KLOGG_BUILD_ROOT }}/packages/${{ env.KLOGG_PKG }}"
107109
108110
- name: Mac staple PKG
109111
if: ${{ github.event_name != 'pull_request' }}

.github/workflows/ci-build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ jobs:
190190
with:
191191
p12-file-base64: ${{ secrets.CODESIGN_BASE64 }}
192192
p12-password: ${{ secrets.CODESIGN_PASSWORD }}
193-
appstore-connect-username: ${{ secrets.NOTARIZATION_USERNAME }}
194-
appstore-connect-password: ${{ secrets.NOTARIZATION_PASSWORD }}
193+
notarization-username: ${{ secrets.NOTARIZATION_USERNAME }}
194+
notarization-team: ${{ secrets.NOTARIZATION_TEAM }}
195+
notarization-password: ${{ secrets.NOTARIZATION_PASSWORD }}
195196

196197
- uses: actions/upload-artifact@v3
197198
with:

0 commit comments

Comments
 (0)