Skip to content

EAS Build - Requested by @josh-leyshon (Run #2) #2

EAS Build - Requested by @josh-leyshon (Run #2)

EAS Build - Requested by @josh-leyshon (Run #2) #2

Workflow file for this run

name: EAS Build
run-name: '${{ github.workflow }} - Requested by @${{github.actor}} (Run #${{github.run_number}})'
on:
issue_comment:
types: [created]
jobs:
build-android-preview:
name: Build Android (Preview)
if: |
${{
github.event.issue.pull_request &&
github.event.comment.user.login == 'josh-leyshon' &&
contains(github.event.comment.body, '🏗 build-android-preview')
}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
packager: npm
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: npm ci
- name: 🏗 Build on EAS
run: eas build --platform android --profile preview --non-interactive