Skip to content

Commit 0c4bf2c

Browse files
committed
fix(ci): pass development team to xcodebuild archive
1 parent 274fd9f commit 0c4bf2c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-macos-app.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ jobs:
7878
- name: Build and archive
7979
working-directory: ${{ env.PROJECT_PATH }}
8080
env:
81-
KEYCHAIN: ${{ env.KEYCHAIN_PATH }}
81+
TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
8282
run: |
8383
xcodebuild archive \
8484
-scheme "$SCHEME" \
8585
-configuration Release \
8686
-archivePath "$RUNNER_TEMP/HackDesktop.xcarchive" \
8787
CODE_SIGN_STYLE=Manual \
8888
CODE_SIGN_IDENTITY="Developer ID Application" \
89+
DEVELOPMENT_TEAM="$TEAM_ID" \
8990
OTHER_CODE_SIGN_FLAGS="--keychain $KEYCHAIN_PATH"
9091
9192
- name: Export app

0 commit comments

Comments
 (0)