mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: fix upload relese
This commit is contained in:
parent
4a4d0dad4b
commit
a3136ebb13
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -42,12 +42,12 @@ jobs:
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
cp .\config.default.yml .\config.yml
|
||||
Compress-Archive -Path .\wakapi.exe, .\config.yml -DestinationPath release.zip
|
||||
Compress-Archive -Path .\wakapi.exe, .\config.yml -DestinationPath wakapi_${{ matrix.alias }}_amd64.zip
|
||||
- name: Compress working folder on Unix
|
||||
if: runner.os != 'Windows'
|
||||
run: |
|
||||
cp config.default.yml config.yml
|
||||
zip -9 release.zip wakapi config.yml
|
||||
zip -9 wakapi_${{ matrix.alias }}_amd64.zip wakapi config.yml
|
||||
|
||||
- name: Upload built executable to Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
Loading…
Reference in New Issue
Block a user