Skip to content

Instantly share code, notes, and snippets.

@Shafran123
Created November 22, 2020 11:33
Show Gist options
  • Save Shafran123/268e9beb4c4dd0a71b8f2b11776499ca to your computer and use it in GitHub Desktop.
Save Shafran123/268e9beb4c4dd0a71b8f2b11776499ca to your computer and use it in GitHub Desktop.
STEP 2 : Expo React Native Complete CI / CD Workflow Using Github Actions
jobs:
Build-for-android:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- uses: actions/setup-java@v1.4.3
with:
java-version: '9.0.4' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- uses: expo/expo-github-action@v5
with:
expo-version: 3.x
expo-username: ${{ secrets.EXPO_CLI_USERNAME }}
expo-password: ${{ secrets.EXPO_CLI_PASSWORD }}
- name: Install deps
run: yarn install
- name: Build Android APK Bundle
run: expo build:android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment