diff options
-rw-r--r-- | .github/workflows/release.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a97647fd..d8223d35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,18 @@ jobs: src-tauri/target/release/bundle/appimage/*AppImage* src-tauri/target/release/bundle/msi/*msi* src-tauri/target/release/app.pdb + - name: Install sentry-cli (Windows only) + if: matrix.platform == 'windows-latest' + run: | + curl --location --output sentry-cli.exe "https://release-registry.services.sentry.io/apps/sentry-cli/latest?response=download&arch=x86_64&platform=Windows&package=sentry-cli" + - name: Run sentry-cli to upload pdb (Windows only) + if: matrix.platform == 'windows-latest' + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: northstar-kv + SENTRY_PROJECT: flightcore + run: | + ./sentry-cli.exe upload-dif --wait src-tauri/target/release/app.pdb - name: Release uses: softprops/action-gh-release@v1 with: |