diff options
| author | Dan Engelbrecht <[email protected]> | 2022-08-26 09:51:06 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-26 00:51:06 -0700 |
| commit | 7d94df2c1b26ef19c3394643e079b1262badcec9 (patch) | |
| tree | 784bc434499df666f3761f67aed49b069af28b02 /.github/workflows | |
| parent | Build script cleanup (#150) (diff) | |
| download | zen-7d94df2c1b26ef19c3394643e079b1262badcec9.tar.xz zen-7d94df2c1b26ef19c3394643e079b1262badcec9.zip | |
Upload symbol information to Sentry when creating release (#148)
* enable sentry upload
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/create_release.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index a6412fd73..9435a2706 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -47,6 +47,10 @@ jobs: env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg + - name: Upload To Sentry + run: | + scripts\sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} upload-dif --org to --project zen-server --include-sources build/windows/x64/release/zenserver.pdb + - name: Upload zenserver-win64 uses: actions/upload-artifact@v3 with: @@ -99,6 +103,17 @@ jobs: env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg + - name: Get Sentry CLI + run: | + curl -sL https://sentry.io/get-cli/ | bash + ls -la ./scripts + env: + INSTALL_DIR: ./scripts + + - name: Upload To Sentry + run: | + scripts/sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} upload-dif --org to --project zen-server --include-sources build/linux/x86_64/release/zenserver.sym + - name: Upload zenserver-linux uses: actions/upload-artifact@v3 with: @@ -151,6 +166,21 @@ jobs: env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg + - name: Get Sentry CLI + run: | + curl -sL https://sentry.io/get-cli/ | bash + ls -la ./scripts + env: + INSTALL_DIR: ./scripts + +# - name: Upload To Sentry arm64 +# run: | +# scripts/sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} upload-dif --org to --project zen-server --include-sources build/macosx/arm_64/release/zenserver.dSYM + + - name: Upload To Sentry x86_64 + run: | + scripts/sentry-cli --auth-token ${{ secrets.SENTRY_API_KEY }} upload-dif --org to --project zen-server --include-sources build/macosx/x86_64/release/zenserver.dSYM + - name: Upload zenserver-macos uses: actions/upload-artifact@v3 with: |