Release workflow: changed zip packaging tool & sha256 output
This commit is contained in:
parent
f6f22e20e1
commit
68fa02f9a4
1 changed files with 8 additions and 3 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -25,15 +25,20 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
- name: Install RAR
|
||||
run: sudo apt-get install -y rar
|
||||
- name: Install tools
|
||||
run: sudo apt-get install -y rar p7zip-full
|
||||
|
||||
- name: Create archives
|
||||
run: |
|
||||
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||
zip -r "${NAME}.zip" bin/ lists/ utils/ *.bat
|
||||
7z a "${NAME}.zip" bin/ lists/ utils/ *.bat
|
||||
rar a "${NAME}.rar" bin/ lists/ utils/ *.bat
|
||||
|
||||
- name: Print SHA256 checksums
|
||||
run: |
|
||||
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||
sha256sum "${NAME}.zip" "${NAME}.rar"
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue