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 - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: m3_lightmeter_$FLAVOR_ipa name: m3_lightmeter_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 (.${{ matrix.binary-type }}) name: Build Android
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 (.ipa) name: Build iOS
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,7 +200,8 @@ 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]
runs-on: macos-13 if: ${{ always() }}
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -212,12 +213,13 @@ jobs:
name: m3_lightmeter_ipa name: m3_lightmeter_ipa
- name: Upload app to TestFlight - name: Upload app to TestFlight
uses: apple-actions/upload-testflight-build@v1 env:
with: API_KEY: AuthKey_${{ secrets.APP_STORE_API_KEY_ID }}.p8
app-path: "lightmeter.ipa" run: |
issuer-id: ${{ secrets.APP_STORE_ISSUER_ID }} mkdir -p ~/private_keys
api-key-id: ${{ secrets.APP_STORE_API_KEY_ID }} bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_API_KEY }}" "${{ env.API_KEY }}"
api-private-key: ${{ secrets.APP_STORE_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: cleanup:
name: Cleanup name: Cleanup