1
0
mirror of https://github.com/tooot-app/app synced 2024-12-27 01:42:32 +01:00

Fix wordflow file

This commit is contained in:
Zhiyuan Zheng 2021-01-16 02:10:37 +01:00
parent 154838fdd4
commit 0dd8df942e
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0

View File

@ -5,22 +5,26 @@ on:
- testing
jobs:
publish:
name: Install and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: -- Step 1 -- Checkout code
uses: actions/checkout@v2
- name: -- Step 2 -- Setup node
uses: actions/setup-node@v2
with:
node-version: 14.x
- uses: expo/expo-github-action@v5
- name: -- Step 3 -- Use Expo action
uses: expo/expo-github-action@v5
with:
expo-version: 4.x
expo-username: ${{ secrets.EXPO_USERNAME }}
expo-token: ${{ secrets.EXPO_TOKEN }}
expo-cache: true
- run: yarn install
- run: expo publish --release-channel=testing
- name: -- Step 4 -- Install dependencies
run: yarn install
- name: -- Step 5 -- Publish
env:
- SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
- SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
- SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: expo publish --release-channel=testing