stage fingerprint ota workflows and native receipts
This commit is contained in:
@@ -135,6 +135,8 @@ jobs:
|
||||
|
||||
- name: 🏗️ EAS Build
|
||||
uses: ./.github/actions/eas-local-build
|
||||
env:
|
||||
OTA_FINGERPRINT_PIPELINE_ENABLED: ${{ vars.OTA_FINGERPRINT_PIPELINE_ENABLED == 'true' && '1' || '' }}
|
||||
with:
|
||||
platform: ios
|
||||
profile: ${{ inputs.profile || 'testflight' }}
|
||||
@@ -204,6 +206,28 @@ jobs:
|
||||
echo "IPA build number: $build_number"
|
||||
echo "build-number=$build_number" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: 🧾 Create fingerprint native-build receipt
|
||||
if: ${{ vars.OTA_FINGERPRINT_PIPELINE_ENABLED == 'true' }}
|
||||
uses: ./.github/actions/native-build-receipt
|
||||
env:
|
||||
OTA_FINGERPRINT_PIPELINE_ENABLED: '1'
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
with:
|
||||
platform: ios
|
||||
profile: ${{ inputs.profile || 'testflight' }}
|
||||
artifact-path: ${{ env.BUILD_DIR }}/Bluesky.ipa
|
||||
native-build-number: ${{ steps.ipa-build-number.outputs.build-number }}
|
||||
default-channel: ${{ (inputs.profile || 'testflight') == 'production' && 'production' || 'testflight' }}
|
||||
|
||||
- name: ⬆️ Upload fingerprint native-build receipt
|
||||
if: ${{ vars.OTA_FINGERPRINT_PIPELINE_ENABLED == 'true' }}
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: native-build-ios-${{ inputs.profile || 'testflight' }}-${{ steps.ipa-build-number.outputs.build-number }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
path: native-build-receipt
|
||||
retention-days: 90
|
||||
if-no-files-found: error
|
||||
|
||||
# Hand the IPA and dSYM off to the submit job. Retention is deliberately short since
|
||||
# this artifact only exists to bridge the two jobs within a single run.
|
||||
- name: 🚀 Upload build artifact
|
||||
|
||||
Reference in New Issue
Block a user