2021-10-26 23:05:55 +08:00
|
|
|
name: Upload Sentry Sourcemaps
|
|
|
|
on:
|
2021-11-01 18:10:20 +08:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- develop
|
2021-11-01 21:24:48 +08:00
|
|
|
repository_dispatch:
|
|
|
|
types: [ element-web-notify ]
|
2021-10-26 23:05:55 +08:00
|
|
|
jobs:
|
2021-11-01 18:16:02 +08:00
|
|
|
upload-sentry-sourcemaps:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
environment: develop
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: '14'
|
|
|
|
cache: 'yarn'
|
|
|
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
|
|
|
- run: yarn install
|
|
|
|
- run: ./scripts/ci_package.sh
|
|
|
|
env:
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
|
|
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
|
|
|
SENTRY_ORG: sentry
|
|
|
|
SENTRY_PROJECT: riot-web
|