Skip to content

Instantly share code, notes, and snippets.

@Shafran123
Created November 22, 2020 11:34
Show Gist options
  • Save Shafran123/df9c2bd72598cefd4eb5d2c06d5af3db to your computer and use it in GitHub Desktop.
Save Shafran123/df9c2bd72598cefd4eb5d2c06d5af3db to your computer and use it in GitHub Desktop.
STEP 3 : Expo React Native Complete CI / CD Workflow Using Github Actions
Push-to-Playstore:
needs: [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: Upload to Google Play Console
run: expo upload:android --latest --key <Path to google service json file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment