Skip to content

Commit 49c20de

Browse files
committed
chore(ci): split sentry job
1 parent f2eb418 commit 49c20de

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ jobs:
1818

1919
- uses: xmake-io/github-action-setup-xmake@v1
2020

21-
- uses: matbour/setup-sentry-cli@v1
22-
with:
23-
token: ${{ SECRETS.SENTRY_TOKEN }}
24-
organization: ${{ SECRETS.SENTRY_ORG }}
25-
project: ${{ SECRETS.SENTRY_PROJECT }}
26-
2721
- uses: actions/cache@v4
2822
with:
2923
path: |
@@ -41,15 +35,39 @@ jobs:
4135
- run: |
4236
xmake -y
4337
44-
- run: |
45-
sentry-cli debug-files upload --include-sources bin/legacy-script-engine-${{ matrix.backend }}
46-
4738
- uses: actions/upload-artifact@v4
4839
with:
4940
name: legacy-script-engine-${{ matrix.backend }}-windows-x64-${{ github.sha }}
5041
path: |
5142
bin/
5243
44+
upload-to-sentry:
45+
needs: build
46+
strategy:
47+
matrix:
48+
backend:
49+
- nodejs
50+
- lua
51+
- python
52+
- quickjs
53+
runs-on: windows-latest
54+
steps:
55+
- uses: actions/checkout@v4
56+
57+
- uses: matbour/setup-sentry-cli@v1
58+
with:
59+
token: ${{ SECRETS.SENTRY_TOKEN }}
60+
organization: ${{ SECRETS.SENTRY_ORG }}
61+
project: ${{ SECRETS.SENTRY_PROJECT }}
62+
63+
- uses: actions/download-artifact@v4
64+
with:
65+
name: legacy-script-engine-${{ matrix.backend }}-windows-x64-${{ github.sha }}
66+
path: artifact
67+
68+
- run: |
69+
sentry-cli debug-files upload --include-sources artifact
70+
5371
update-release-notes:
5472
permissions:
5573
contents: write

0 commit comments

Comments
 (0)