-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(conveyor): use the Apple notarization API
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,6 +149,12 @@ jobs: | |
tag: 'v${{ needs.version.outputs.version_next }}' | ||
default_author: github_actions | ||
|
||
- name: Retrieve the Apple private key and decode it to a file | ||
env: | ||
APPLE_PRIVATE_KEY: ${{ secrets.APPLE_PRIVATE_KEY }} | ||
run: | | ||
echo APPLE_PRIVATE_KEY | base64 --decode > ./secret/apple_private_key.p8 | ||
- name: Conveyor build apps | ||
uses: hydraulic-software/conveyor/actions/[email protected] | ||
if: inputs.github_release | ||
|
@@ -157,8 +163,8 @@ jobs: | |
signing_key: ${{ secrets.CONVEYOR_SIGNING_KEY }} | ||
agree_to_license: 1 | ||
env: | ||
APPLE_ASP: ${{ secrets.APPLE_ASP }} | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }} | ||
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }} | ||
|
||
- name: Adjust Conveyor output | ||
if: inputs.github_release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,4 @@ application-oauth2.yml | |
|
||
### Conveyor | ||
output/ | ||
secret/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters