Compare commits

..

No commits in common. "be456a9a8fdc1cc95ce9db350b1193ae8b34d87d" and "b61ed93a88df969f23418aa32d8b105411fd97bb" have entirely different histories.

2 changed files with 10 additions and 12 deletions

View file

@ -127,7 +127,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: m3_lightmeter_ipa name: m3_lightmeter_$FLAVOR_ipa
path: build/ios/ipa/lightmeter.ipa path: build/ios/ipa/lightmeter.ipa
- name: Clean up keychain and provisioning profile - name: Clean up keychain and provisioning profile

View file

@ -36,7 +36,7 @@ jobs:
secrets: inherit secrets: inherit
build-android: build-android:
name: Build Android name: Build Android (.${{ matrix.binary-type }})
needs: [run-integration-tests] needs: [run-integration-tests]
if: ${{ always() && !failure() && !cancelled() }} if: ${{ always() && !failure() && !cancelled() }}
strategy: strategy:
@ -51,7 +51,7 @@ jobs:
version: ${{ inputs.version }} version: ${{ inputs.version }}
build-ios: build-ios:
name: Build iOS name: Build iOS (.ipa)
needs: [run-integration-tests] needs: [run-integration-tests]
if: ${{ always() && !failure() && !cancelled() }} if: ${{ always() && !failure() && !cancelled() }}
uses: ./.github/workflows/build_ipa.yml uses: ./.github/workflows/build_ipa.yml
@ -200,8 +200,7 @@ jobs:
upload-to-app-store: upload-to-app-store:
name: Upload to App Store name: Upload to App Store
needs: [generate-release-notes] needs: [generate-release-notes]
if: ${{ always() }} runs-on: macos-13
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -213,13 +212,12 @@ jobs:
name: m3_lightmeter_ipa name: m3_lightmeter_ipa
- name: Upload app to TestFlight - name: Upload app to TestFlight
env: uses: apple-actions/upload-testflight-build@v1
API_KEY: AuthKey_${{ secrets.APP_STORE_API_KEY_ID }}.p8 with:
run: | app-path: "lightmeter.ipa"
mkdir -p ~/private_keys issuer-id: ${{ secrets.APP_STORE_ISSUER_ID }}
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_API_KEY }}" "${{ env.API_KEY }}" api-key-id: ${{ secrets.APP_STORE_API_KEY_ID }}
cp "${{ env.API_KEY }}" ~/private_keys api-private-key: ${{ secrets.APP_STORE_API_KEY }}
xcrun altool --output-format xml --upload-app -f lightmeter.ipa -t ios --apiKey ${{ secrets.APP_STORE_API_KEY_ID }} --apiIssuer ${{ secrets.APP_STORE_ISSUER_ID }}
cleanup: cleanup:
name: Cleanup name: Cleanup