Created
July 28, 2025 14:26
-
-
Save wcastand/e71b720dcb93723c7661d128d8213577 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| paths: | |
| - [path you want to trigger this] | |
| jobs: | |
| fingerprint: | |
| type: fingerprint | |
| environment: development | |
| update-staging: | |
| name: Update Staging channel | |
| steps: | |
| - uses: eas/checkout | |
| - uses: eas/install_node_modules | |
| - name: Get environment variables | |
| run: npx -y eas-cli@latest env:pull --environment development | |
| - name: lingui extract | |
| run: bun lingui extract-template | |
| - name: publish update | |
| run: npx -y eas-cli@latest update --branch staging --environment development --non-interactive --message "eas workflow update" | |
| android_get_build: | |
| needs: [fingerprint] | |
| type: get-build | |
| params: | |
| fingerprint_hash: ${{ needs.fingerprint.outputs.android_fingerprint_hash }} | |
| profile: development | |
| platform: android | |
| android_build: | |
| needs: [android_get_build] | |
| if: ${{ !needs.android_get_build.outputs.build_id }} | |
| type: build | |
| params: | |
| platform: android | |
| profile: development | |
| android_submit_to_store: | |
| name: Submit android app | |
| type: submit | |
| needs: [android_build] | |
| params: | |
| build_id: ${{ needs.android_build.outputs.build_id }} | |
| profile: development | |
| android_send_slack_notification: | |
| name: Notify Staging Android Build Available | |
| type: slack | |
| after: [android_submit_to_store] | |
| needs: [android_build] | |
| params: | |
| webhook_url: [url] | |
| payload: | |
| blocks: | |
| - type: section | |
| fields: | |
| - type: mrkdwn | |
| text: | | |
| ## New Android Staging App Available | |
| *App Version:* ${{ needs.android_build.outputs.app_version }} | |
| ios_get_build: | |
| needs: [fingerprint] | |
| type: get-build | |
| params: | |
| fingerprint_hash: ${{ needs.fingerprint.outputs.ios_fingerprint_hash }} | |
| profile: development | |
| platform: ios | |
| ios_build: | |
| needs: [ios_get_build] | |
| if: ${{ !needs.ios_get_build.outputs.build_id }} | |
| type: build | |
| params: | |
| platform: ios | |
| profile: development | |
| ios_submit_to_store: | |
| name: Submit ios app | |
| type: submit | |
| needs: [ios_build] | |
| params: | |
| build_id: ${{ needs.ios_build.outputs.build_id }} | |
| profile: development | |
| ios_send_slack_notification: | |
| name: Notify Staging IOS Build Available | |
| type: slack | |
| after: [ios_submit_to_store] | |
| needs: [ios_build] | |
| params: | |
| webhook_url: [url] | |
| payload: | |
| blocks: | |
| - type: section | |
| fields: | |
| - type: mrkdwn | |
| text: | | |
| ## New IOS Staging App Available | |
| *App Version:* ${{ needs.ios_build.outputs.app_version }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment