-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Nunamaker
committed
Mar 12, 2024
1 parent
267b596
commit 71da397
Showing
1 changed file
with
6 additions
and
6 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 |
---|---|---|
|
@@ -6,14 +6,14 @@ on: | |
artifact_name: | ||
description: 'Artifact name' | ||
required: false | ||
# push: | ||
# branches: [main] | ||
push: | ||
branches: [package] | ||
|
||
jobs: | ||
build: | ||
name: Build on ${{ matrix.os }} | ||
# runs-on: ${{ matrix.os }} | ||
runs-on: tim_mbp | ||
runs-on: ${{ matrix.os }} | ||
# runs-on: [self-hosted, macOS, ARM64] | ||
strategy: | ||
matrix: | ||
# os: [ubuntu-latest, macos-latest-xlarge, windows-latest] | ||
|
@@ -120,7 +120,7 @@ jobs: | |
id: notarization_submit | ||
run: | | ||
echo "Submitting app for notarization..." | ||
NOTARIZATION_OUTPUT=$(xcrun altool --notarize-app --primary-bundle-id "com.vana.selfie" --username "[email protected]" --password "@keychain:APP_SPECIFIC_PASSWORD" --file selfie.zip --output-format xml) | ||
NOTARIZATION_OUTPUT=$(xcrun altool --notarize-app --primary-bundle-id "com.vana.selfie" --username ${{ secrets.APPLE_ID }} --password ${{ secrets.APPLE_SELFIE_PASSWORD }} --file selfie.zip --output-format xml) | ||
echo "${NOTARIZATION_OUTPUT}" | ||
REQUEST_UUID=$(echo "${NOTARIZATION_OUTPUT}" | grep -oE 'RequestUUID>[^<]+' | sed 's/RequestUUID>//') | ||
if [[ -z "$REQUEST_UUID" ]]; then | ||
|
@@ -135,7 +135,7 @@ jobs: | |
run: | | ||
echo "Polling for notarization status..." | ||
while : ; do | ||
STATUS_OUTPUT=$(xcrun altool --notarization-info $REQUEST_UUID --username ${{ secrets.APPLE_ID }} --password "@keychain:APP_SPECIFIC_PASSWORD" --output-format xml) | ||
STATUS_OUTPUT=$(xcrun altool --notarization-info $REQUEST_UUID --username ${{ secrets.APPLE_ID }} --password ${{ secrets.APPLE_SELFIE_PASSWORD }} --output-format xml) | ||
echo "${STATUS_OUTPUT}" | ||
if echo "${STATUS_OUTPUT}" | grep -q 'Status: success'; then | ||
echo "Notarization succeeded." | ||
|