aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-03-08 17:06:01 +0100
committerGitHub <noreply@github.com>2023-03-08 17:06:01 +0100
commitd048f3e99e337bc355591ae1b02c914fdd0531bc (patch)
tree7c2f4980e7704471edfcdfe581b5ae50586b30e6 /.github
parent85393e170cf8912ee08a73a11eeee32b46662ee6 (diff)
downloadFlightCore-d048f3e99e337bc355591ae1b02c914fdd0531bc.tar.gz
FlightCore-d048f3e99e337bc355591ae1b02c914fdd0531bc.zip
build: Upload Windows pdb to Sentry via CI (#205)
Uploads the Windows debug symbols to sentry.io via CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml12
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: