Skip to content

Commit

Permalink
ci: fix pdb upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 16, 2025
1 parent 651525c commit 9b40bfd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y --target_type=${{ matrix.target_type }} --tests=${{ matrix.tests }}
- run: |
xmake -v -w -y
xmake -v -y
- run: |
sentry-cli debug-files upload --include-sources /bin/LeviLamina/LeviLamina.dll /bin/LeviLamina/LeviLamina.pdb
sentry-cli debug-files upload --include-sources bin/LeviLamina
- uses: actions/upload-artifact@v4
with:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
# with:
# xmake-version: branch@master

- uses: matbour/setup-sentry-cli@v1
with:
token: ${{ SECRETS.SENTRY_TOKEN }}
organization: ${{ SECRETS.SENTRY_ORG }}
project: ${{ SECRETS.SENTRY_PROJECT }}

- uses: actions/cache@v4
with:
path: |
Expand All @@ -38,7 +44,10 @@ jobs:
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y
- run: |
xmake -v -w -y
xmake -v -y
- run: |
sentry-cli debug-files upload --include-sources bin/LeviLamina
# - run: |
# xmake package -v -y
Expand Down

0 comments on commit 9b40bfd

Please sign in to comment.