Skip to content

Commit 1ea7aa2

Browse files
authored
Merge pull request #121 from cwensley/update-buiild
Store notarization credentials in the new way
2 parents c5426da + 05a841f commit 1ea7aa2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,14 @@ jobs:
102102
p12-file-base64: ${{ secrets.DEVID_CERTIFICATE_P12 }}
103103
p12-password: ${{ secrets.DEVID_CERTIFICATE_P12_PASSWORD }}
104104

105-
- name: List certificates
106-
if: github.event_name != 'pull_request'
107-
run: security find-identity -v -p codesigning
108-
109105
- name: Enable code signing
110106
if: github.event_name != 'pull_request'
111107
run: echo "BuildParameters=${{ env.BuildParameters }} /p:EnableCodeSigning=True" >> $GITHUB_ENV
112108

113109
- name: Set notarization credentials
114110
if: startsWith(github.ref, 'refs/tags/')
115111
run: |
116-
xcrun altool --store-password-in-keychain-item "AC_PASSWORD" -u "${{ secrets.AC_USERNAME }}" -p "${{ secrets.AC_PASSWORD }}"
112+
xcrun notarytool store-credentials "AC_PASSWORD" --apple-id "${{ secrets.AC_USERNAME }}" --team-id "${{ secrets.AC_TEAMID }}" --password "${{ secrets.AC_PASSWORD }}"
117113
echo "BuildParameters=${{ env.BuildParameters }} /p:EnableNotarization=True" >> $GITHUB_ENV
118114
119115
- name: Build PabloDraw

0 commit comments

Comments
 (0)