Skip to content

Commit

Permalink
πŸ’š Update provision profile
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Jul 7, 2024
1 parent 8fb06b0 commit ff76e13
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ jobs:
echo "FROM_TAG=$FROM_TAG" >> $GITHUB_ENV
- name: πŸ”§ Select Xcode
run: sudo xcode-select -s "/Applications/Xcode_15.4.app"
run: sudo xcode-select -s "/Applications/Xcode_16.0.app"

- name: 🎟️ Install Certificate
env:
DEVELOPMENT_CERT_BASE64: ${{ secrets.DEVELOPMENT_CERT_BASE64 }}
DEVELOPER_ID_CERT_BASE64: ${{ secrets.DEVELOPER_ID_CERT_BASE64 }}
PROVISION_PROFILE_B64: ${{ secrets.PROVISION_PROFILE_B64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
DEVELOPMENT_CERT_PATH=$RUNNER_TEMP/dev.p12
DEVELOPER_ID_CERT_PATH=$RUNNER_TEMP/devid.p12
PROVISION_PROFILE_PATH="$RUNNER_TEMP/provision_profile.provisionprofile"
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
echo -n "$DEVELOPMENT_CERT_BASE64" | base64 --decode -o $DEVELOPMENT_CERT_PATH
Expand All @@ -64,14 +66,17 @@ jobs:
security list-keychain -d user -s $KEYCHAIN_PATH
echo -n "$PROVISION_PROFILE_B64" | base64 --decode --output $PROVISION_PROFILE_PATH
mkdir -p "~/Library/MobileDevice/Provisioning Profiles"
cp "$PROVISION_PROFILE_PATH" "~/Library/MobileDevice/Provisioning Profiles"
- name: πŸ› οΈ Build Loop
run: |
xcodebuild \
archive \
-project Loop.xcodeproj/ \
-scheme "Loop (GH ACTIONS)" \
-destination 'generic/platform=macOS' \
-allowProvisioningUpdates \
-archivePath dist/Loop.xcarchive
- name: πŸ₯‘ Export Loop.app
Expand Down

0 comments on commit ff76e13

Please sign in to comment.