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
uses: actions/upload-artifact@v3
with:
name: m3_lightmeter_ipa
name: m3_lightmeter_$FLAVOR_ipa
path: build/ios/ipa/lightmeter.ipa
- name: Clean up keychain and provisioning profile

View file

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