File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 - name : Archive
6969 env :
7070 TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
71+ SIGNING_IDENTITY : ${{ secrets.APPLE_SIGNING_IDENTITY }}
7172 API_KEY_ID : ${{ secrets.API_KEY_ID }}
7273 API_ISSUER_ID : ${{ secrets.API_ISSUER_ID }}
7374 run : |
@@ -80,18 +81,21 @@ jobs:
8081 -authenticationKeyPath "$RUNNER_TEMP/AuthKey.p8" \
8182 -authenticationKeyID "$API_KEY_ID" \
8283 -authenticationKeyIssuerID "$API_ISSUER_ID" \
83- DEVELOPMENT_TEAM="$TEAM_ID"
84+ DEVELOPMENT_TEAM="$TEAM_ID" \
85+ CODE_SIGN_IDENTITY="$SIGNING_IDENTITY"
8486
8587 - name : Export archive
8688 env :
8789 TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
90+ SIGNING_IDENTITY : ${{ secrets.APPLE_SIGNING_IDENTITY }}
8891 API_KEY_ID : ${{ secrets.API_KEY_ID }}
8992 API_ISSUER_ID : ${{ secrets.API_ISSUER_ID }}
9093 run : |
9194 EXPORT_PLIST="$RUNNER_TEMP/export-options.plist"
9295 cp scripts/export-options.plist "$EXPORT_PLIST"
9396 /usr/libexec/PlistBuddy -c "Add :teamID string $TEAM_ID" "$EXPORT_PLIST"
9497 /usr/libexec/PlistBuddy -c "Set :signingStyle automatic" "$EXPORT_PLIST"
98+ /usr/libexec/PlistBuddy -c "Add :signingCertificate string $SIGNING_IDENTITY" "$EXPORT_PLIST"
9599
96100 xcodebuild -exportArchive \
97101 -archivePath "$RUNNER_TEMP/CloudMount.xcarchive" \
You can’t perform that action at this time.
0 commit comments