mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-12-04 21:30:39 +00:00
Compare commits
5 commits
b61ed93a88
...
be456a9a8f
Author | SHA1 | Date | |
---|---|---|---|
|
be456a9a8f | ||
|
7870138bfd | ||
|
58565162eb | ||
|
ba0ed69d18 | ||
|
4c46cc444c |
2 changed files with 12 additions and 10 deletions
2
.github/workflows/build_ipa.yml
vendored
2
.github/workflows/build_ipa.yml
vendored
|
@ -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
|
||||
|
|
20
.github/workflows/create_release.yml
vendored
20
.github/workflows/create_release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue