2021-01-16 02:02:44 +01:00
|
|
|
name: Publish testing
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- testing
|
|
|
|
jobs:
|
|
|
|
publish:
|
2021-01-16 14:16:58 +01:00
|
|
|
runs-on: ubuntu-latest
|
2021-01-16 02:02:44 +01:00
|
|
|
steps:
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 1 -- Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: -- Step 2 -- Setup node
|
|
|
|
uses: actions/setup-node@v2
|
2021-01-16 02:02:44 +01:00
|
|
|
with:
|
|
|
|
node-version: 14.x
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 3 -- Use Expo action
|
|
|
|
uses: expo/expo-github-action@v5
|
2021-01-16 02:02:44 +01:00
|
|
|
with:
|
|
|
|
expo-version: 4.x
|
|
|
|
expo-username: ${{ secrets.EXPO_USERNAME }}
|
|
|
|
expo-token: ${{ secrets.EXPO_TOKEN }}
|
|
|
|
expo-cache: true
|
2021-01-16 02:10:37 +01:00
|
|
|
- name: -- Step 4 -- Install dependencies
|
|
|
|
run: yarn install
|
|
|
|
- name: -- Step 5 -- Publish
|
2021-01-16 02:02:44 +01:00
|
|
|
env:
|
2021-01-16 02:10:37 +01:00
|
|
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
|
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
run: expo publish --release-channel=testing
|