Skip to content

Commit 5da303e

Browse files
committed
update to workflow
1 parent 328414e commit 5da303e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/main.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Archive
2929
uses: actions/upload-artifact@v4
3030
with:
31-
name: Linux-binaries.zip
31+
name: Linux-binaries
3232
path: bin/linux
3333
build-windows:
3434
name: Windows Build
@@ -41,12 +41,12 @@ jobs:
4141
- name: Archive x86
4242
uses: actions/upload-artifact@v4
4343
with:
44-
name: Windows-x86-binaries.zip
44+
name: Windows-x86-binaries
4545
path: bin/windows/x86/Release
4646
- name: Archive x64
4747
uses: actions/upload-artifact@v4
4848
with:
49-
name: Windows-x64-binaries.zip
49+
name: Windows-x64-binaries
5050
path: bin/windows/x64/Release
5151
version:
5252
runs-on: ubuntu-latest
@@ -89,14 +89,14 @@ jobs:
8989
path: artifacts
9090
- name: Prepare Artifacts for Release
9191
run: |
92-
ls -ahkil artifacts
93-
# - name: Create a Release
94-
# uses: softprops/action-gh-release@v2
95-
# with:
96-
# name: ${{ needs.version.outputs.newtag }}
97-
# tag_name: ${{ needs.version.outputs.newtag }}
98-
# token: ${{ secrets.GITHUB_TOKEN }}
99-
# make_latest: true
100-
# files:
101-
# artifacts/*
92+
find *binaries -type d | xargs -I subdir -- 7z a subdir.zip subdir\*
93+
- name: Create a Release
94+
uses: softprops/action-gh-release@v2
95+
with:
96+
name: ${{ needs.version.outputs.newtag }}
97+
tag_name: ${{ needs.version.outputs.newtag }}
98+
token: ${{ secrets.GITHUB_TOKEN }}
99+
make_latest: true
100+
files:
101+
artifacts/*.zip
102102

0 commit comments

Comments
 (0)