Test testing workflow

This commit is contained in:
Zhiyuan Zheng 2021-01-16 02:02:44 +01:00
parent 64b0e413b3
commit 154838fdd4
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
3 changed files with 26 additions and 8 deletions

26
.github/workflows/testing.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Publish testing
on:
push:
branches:
- testing
jobs:
publish:
name: Install and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- 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
env:
- SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
- SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
- SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

View File

@ -39,11 +39,6 @@ export default (): ExpoConfig => ({
postPublish: [
{
file: 'sentry-expo/upload-sourcemaps'
// config: {
// organization: "your sentry organization's short name here",
// project: "your sentry project's name here",
// authToken: 'your auth token here'
// }
}
]
},

View File

@ -1,3 +0,0 @@
#!/bin/bash
SENTRY_ORG=xmflsct SENTRY_PROJECT=mastodon-app SENTRY_AUTH_TOKEN=771a5746bad54f5987aa5d5d8b1c10abc751b3bf28554c908d452e0054eb6003 expo publish --release-channel testing