Update workflow

This commit is contained in:
Aurélien Hamy 2023-06-22 14:25:54 +02:00
parent becaf751d3
commit aa2932c87a
2 changed files with 17 additions and 6 deletions

View File

@ -16,11 +16,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 18
- uses: MCJack123/ghaction-generate-release-hashes@v3
with:
hash-type: sha256
file-name: hashes_sha256.txt
- name: install_deps
run: make install_deps
@ -55,4 +50,3 @@ jobs:
artifacts/x64/*.AppImage
artifacts/x64/*.7z
artifacts/x64/*.tar.xz
hashes_sha256.txt

17
.github/workflows/generate-hashes.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Generate hashes
on:
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: MCJack123/ghaction-Generate-Release-Hashes@v1
with:
file-name: hashes_sha256.txt
- uses: actions/upload-artifact@v2
with:
name: Hashes
path: hashes_sha256.txt