diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml --- a/.github/workflows/ios_ci.yml +++ b/.github/workflows/ios_ci.yml @@ -71,8 +71,6 @@ AUTH_KEY_ISSUER_ID: ${{secrets.AUTH_KEY_ISSUER_ID}} run: xcodebuild archive -workspace Comm.xcworkspace -scheme Comm -configuration Release -archivePath archives/Comm.xcarchive -destination generic/platform=iOS -allowProvisioningUpdates -authenticationKeyIssuerID "$AUTH_KEY_ISSUER_ID" -authenticationKeyID "$AUTH_KEY_ID" -authenticationKeyPath $PWD/AUTH_KEY.p8 - - name: Clean up keychain and provisioning profile + - name: Clean up keychain if: ${{ always() }} - run: | - rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision - security delete-keychain $RUNNER_TEMP/app-signing.keychain-db + run: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml --- a/.github/workflows/ios_release.yml +++ b/.github/workflows/ios_release.yml @@ -78,8 +78,6 @@ APPLE_APP_SPECIFIC_PASSWORD: ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}} run: xcrun altool --upload-app --type ios --file output/Comm.ipa --username "$APPLE_USER_NAME" --password "$APPLE_APP_SPECIFIC_PASSWORD" - - name: Clean up keychain and provisioning profile + - name: Clean up keychain if: ${{ always() }} - run: | - rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision - security delete-keychain $RUNNER_TEMP/app-signing.keychain-db + run: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db diff --git a/.github/workflows/ios_xctest.yml b/.github/workflows/ios_xctest.yml --- a/.github/workflows/ios_xctest.yml +++ b/.github/workflows/ios_xctest.yml @@ -71,8 +71,6 @@ AUTH_KEY_ISSUER_ID: ${{secrets.AUTH_KEY_ISSUER_ID}} run: xcodebuild ENABLE_TESTABILITY=YES test -workspace Comm.xcworkspace -scheme Comm -destination name="iPhone 13 Pro" -configuration Release -authenticationKeyIssuerID "$AUTH_KEY_ISSUER_ID" -authenticationKeyID "$AUTH_KEY_ID" -authenticationKeyPath $PWD/AUTH_KEY.p8 - - name: Clean up keychain and provisioning profile + - name: Clean up keychain if: ${{ always() }} - run: | - rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision - security delete-keychain $RUNNER_TEMP/app-signing.keychain-db + run: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db