This repository was archived by the owner on Feb 10, 2026. It is now read-only.
Release 0.24.0 #355
Workflow file for this run
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: EAS Build | |
| on: | |
| pull_request: | |
| types: [labeled] | |
| jobs: | |
| build: | |
| if: ${{ github.event.label.name == 'eas build' }} | |
| runs-on: macOS-latest | |
| steps: | |
| - name: π Setup repo | |
| uses: actions/checkout@v4 | |
| - name: π Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| - name: π Setup EAS | |
| uses: expo/expo-github-action@v8 | |
| with: | |
| eas-version: latest | |
| token: ${{ secrets.EXPO_TOKEN }} | |
| - name: Use corepack | |
| run: corepack enable | |
| - name: π¦ Install dependencies | |
| run: yarn && yarn build | |
| - name: π Build app | |
| run: eas build --non-interactive --platform=all | |
| working-directory: internal/fishjam-chat | |
| - name: π« Submit iOS app to TestFlight | |
| run: eas submit --non-interactive --platform=ios --latest | |
| working-directory: internal/fishjam-chat | |
| - name: βοΈβπ₯ Get iOS archive url and version | |
| id: ios_build | |
| run: eas build:list --json --non-interactive | jq -r '[.[] | select(.platform=="IOS")][0] | "version=\(.appVersion) (\(.appBuildVersion))"' >> $GITHUB_OUTPUT | |
| working-directory: internal/fishjam-chat | |
| - name: βοΈβπ₯ Get Android archive url and version | |
| id: android_build | |
| run: eas build:list --json --non-interactive | jq -r '[.[] | select(.platform=="ANDROID")][0] | "url=\(.artifacts.applicationArchiveUrl)\nversion=\(.appVersion) (\(.appBuildVersion))"' >> $GITHUB_OUTPUT | |
| working-directory: internal/fishjam-chat | |
| - name: π¬ Add comment with build links | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{secrets.GITHUB_TOKEN}} | |
| script: | | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: '**Download links**\nAndroid - ${{ steps.android_build.outputs.version }}: ${{ steps.android_build.outputs.url }}\niOS - ${{ steps.ios_build.outputs.version }}: https://testflight.apple.com/v1/app/6711353226' | |
| }) |