Skip to content

Commit be58cc1

Browse files
authored
Update autobuild.yml
1 parent 2a4ed64 commit be58cc1

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/autobuild.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ jobs:
2323
path: ./out/MusicFreeSetup.exe
2424
- name: Generate Portable
2525
run: mkdir ./out/MusicFree-win32-x64/portable
26-
- name: Archive Release
27-
uses: thedoctor0/zip-release@0.7.5
26+
- uses: vimtor/action-zip@v1.1
2827
with:
29-
directory: ./out/MusicFree-win32-x64
30-
filename: ./out/MusicFree-win32-x64-portable.zip
28+
files: ./out/MusicFree-win32-x64
29+
dest: MusicFree-win32-x64-portable.zip
3130
- name: Upload Portable
3231
uses: actions/upload-artifact@v3
3332
with:
3433
name: windows-portable-release
35-
path: ./out/MusicFree-win32-x64-portable.zip
34+
path: ${{ github.workspace }}/MusicFree-win32-x64-portable.zip
3635

3736
build-windows-legacy:
3837
runs-on: windows-latest
@@ -56,16 +55,15 @@ jobs:
5655
path: ./out/MusicFreeSetup.exe
5756
- name: Generate Portable
5857
run: mkdir ./out/MusicFree-win32-x64/portable
59-
- name: Archive Release
60-
uses: thedoctor0/zip-release@0.7.5
58+
- uses: vimtor/action-zip@v1.1
6159
with:
62-
directory: ./out/MusicFree-win32-x64
63-
filename: ./out/MusicFree-win32-x64-portable.zip
60+
files: ./out/MusicFree-win32-x64
61+
dest: MusicFree-win32-x64-legacy-portable.zip
6462
- name: Upload Portable
6563
uses: actions/upload-artifact@v3
6664
with:
67-
name: windows-legacy-portable-release
68-
path: ./out/MusicFree-win32-x64-portable.zip
65+
name: windows-portable-release
66+
path: ${{ github.workspace }}/MusicFree-win32-x64-legacy-portable.zip
6967

7068
build-macos-x64:
7169
runs-on: macos-latest

0 commit comments

Comments
 (0)