diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index a53355b..369040f 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -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 diff --git a/.github/workflows/generate-hashes.yml b/.github/workflows/generate-hashes.yml new file mode 100644 index 0000000..9cc1f84 --- /dev/null +++ b/.github/workflows/generate-hashes.yml @@ -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 \ No newline at end of file