Compare commits

...

5 commits

Author SHA1 Message Date
Vadim
be456a9a8f decode to repo 2024-03-16 21:10:15 +01:00
Vadim
7870138bfd switched to ubuntu for upload 2024-03-16 20:37:57 +01:00
Vadim
58565162eb try manual ipa upload 2024-03-16 20:09:40 +01:00
Vadim
ba0ed69d18 removed flavor from ipa artefact name 2024-03-16 18:12:00 +01:00
Vadim
4c46cc444c try to force ipa upload 2024-03-16 17:43:10 +01:00
2 changed files with 12 additions and 10 deletions

View file

@ -127,7 +127,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: m3_lightmeter_$FLAVOR_ipa
name: m3_lightmeter_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 (.${{ matrix.binary-type }})
name: Build Android
needs: [run-integration-tests]
if: ${{ always() && !failure() && !cancelled() }}
strategy:
@ -51,7 +51,7 @@ jobs:
version: ${{ inputs.version }}
build-ios:
name: Build iOS (.ipa)
name: Build iOS
needs: [run-integration-tests]
if: ${{ always() && !failure() && !cancelled() }}
uses: ./.github/workflows/build_ipa.yml
@ -200,7 +200,8 @@ jobs:
upload-to-app-store:
name: Upload to App Store
needs: [generate-release-notes]
runs-on: macos-13
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
@ -212,12 +213,13 @@ jobs:
name: m3_lightmeter_ipa
- name: Upload app to TestFlight
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 }}
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 }}
cleanup:
name: Cleanup