Skip to content

Commit 088b068

Browse files
committed
Upload debug info to sentry
1 parent 72fb036 commit 088b068

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ jobs:
5353
- run: nix build .#packages.${{ inputs.system }}.default .#packages.${{ inputs.system }}.binaryTarball --no-link -L
5454
- run: nix build .#packages.${{ inputs.system }}.binaryTarball --out-link tarball
5555
- run: nix build .#packages.${{ inputs.system }}.nix-cli-static --no-link -L
56+
- run: nix build .#^debug,out
57+
- run: ./maintainers/upload-debug-info-to-sentry.py --debug-dir ./result-debug ./result/bin/nix
58+
env:
59+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
60+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
61+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
5662
- uses: actions/upload-artifact@v4
5763
with:
5864
name: ${{ inputs.system }}

0 commit comments

Comments
 (0)