feat(purchase): add guardrails for failed purchases #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Development App | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
with: | |
store_artifacts: true | |
build_type: development | |
tag_name: ${{ github.head_ref }} | |
secrets: inherit | |
test: | |
uses: ./.github/workflows/test.yml | |
upload_ios: | |
name: Upload iOS build to Firebase App Distribution | |
runs-on: ubuntu-latest | |
needs: [build, test] | |
steps: | |
- name: Download Artifact | |
uses: actions/[email protected] | |
with: | |
name: ios | |
- name: Firebase App Distribution | |
uses: wzieba/[email protected] | |
with: | |
appId: ${{ secrets.FIREBASE_IOS_APP_ID }} | |
serviceCredentialsFileContent: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JSON }} | |
groups: analogio-devs | |
file: Analog.ipa | |
releaseNotes: | | |
${{ github.event.pull_request.title }} | |
${{ github.event.pull_request.html_url }} | |
(branch ${{ github.head_ref }}) | |
upload_android: | |
name: Upload Android build to Firebase App Distribution | |
runs-on: ubuntu-latest | |
needs: [build, test] | |
steps: | |
- name: Download artifact | |
uses: actions/[email protected] | |
with: | |
name: android | |
- name: Firebase App Distribution | |
uses: wzieba/[email protected] | |
with: | |
appId: ${{ secrets.FIREBASE_ANDROID_APP_ID }} | |
serviceCredentialsFileContent: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JSON }} | |
groups: analogio-devs | |
file: android.apk | |
releaseNotes: | | |
${{ github.event.pull_request.title }} | |
${{ github.event.pull_request.html_url }} | |
(branch ${{ github.head_ref }}) |