Skip to content

Commit 9bbfb6b

Browse files
committed
Make github actions add the packaged version to the release assets
1 parent 06331dd commit 9bbfb6b

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/python-app.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,20 @@ jobs:
2323
- name: Make PyInstaller Package
2424
run: uv run pyinstaller D2RLoader.spec --noconfirm
2525

26-
- uses: actions/upload-artifact@v4
26+
- name: Archive Release
27+
uses: thedoctor0/[email protected]
2728
with:
28-
name: D2RLoader
29-
path: src/dist/*
29+
type: 'zip'
30+
filename: 'D2RLoader.windows.zip'
31+
path: 'dist/D2RLoader'
32+
33+
- name: Add release
34+
uses: ncipollo/release-action@v1
35+
with:
36+
artifacts: "D2RLoader.windows.zip"
37+
artifactErrorsFailBuild: true
38+
allowUpdates: true
39+
generateReleaseNotes: true
40+
omitBodyDuringUpdate: true
41+
omitDraftDuringUpdate: true
42+
replacesArtifacts: true

0 commit comments

Comments
 (0)