sentry symbols on win

This commit is contained in:
Eugene Pankov 2021-01-04 19:21:12 +01:00
parent 4125582ef2
commit f3569f5d2d
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -34,6 +34,22 @@ jobs:
run: node scripts/build-windows.js
if: github.repository != 'Eugeny/terminus' || github.event_name != 'push'
- name: Upload symbols
run: |
npm install @sentry/cli
node_modules/.bin/sentry-cli.cmd upload-dif --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} --org ${{ secrets.SENTRY_ORG }} --project ${{ secrets.SENTRY_PROJECT }} app/node_modules
- name: Sentry Release
uses: getsentry/action-release@v1.0.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
version: ${{ github.ref }}
version_prefix: v
sourcemaps: app/dist terminus-core/dist terminus-terminal/dist terminus-serial/dist terminus-ssh/dist terminus-settings/dist terminus-plugin-manager/dist
- name: Package artifacts
run: |
mkdir artifact-setup