Release workflow: changed zip packaging tool & sha256 output

This commit is contained in:
Flowseal
2026-05-02 12:31:35 +03:00
parent f6f22e20e1
commit 68fa02f9a4

View File

@@ -25,15 +25,20 @@ jobs:
exit 1 exit 1
fi fi
- name: Install RAR - name: Install tools
run: sudo apt-get install -y rar run: sudo apt-get install -y rar p7zip-full
- name: Create archives - name: Create archives
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" 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 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 - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with: