File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,24 +15,24 @@ jobs:
1515 if : matrix.os != 'windows'
1616 run : ./mk
1717 - uses : ilammy/msvc-dev-cmd@v1
18+ if : matrix.os == 'windows'
1819 - name : Build (Windows)
1920 if : matrix.os == 'windows'
2021 shell : cmd
2122 run : mk.bat
23+ - name : Zip (Linux, macOS)
24+ if : matrix.os != 'windows'
25+ run : zip fart-${{ matrix.os }}.zip fart
26+ - name : Zip (Windows)
27+ if : matrix.os == 'windows'
28+ run : Compress-Archive -Path fart.exe -Destination fart-${{ matrix.os }}.zip
2229 - uses : actions/upload-artifact@v3
2330 with :
24- name : binary-${{ matrix.os }}
25- retention-days : 1
26- path : |
27- fart
28- fart.exe
31+ path : fart-*.zip
2932 - name : Release
3033 uses : softprops/action-gh-release@v1
3134 if : startsWith(github.ref, 'refs/tags/')
3235 with :
33- files : |
34- fart
35- fart.exe
36- fail_on_unmatched_files : false
36+ files : fart-${{ matrix.os }}.zip
3737 generate_release_notes : true
3838 append_body : true
You can’t perform that action at this time.
0 commit comments