From 550b3c794a5226b639cee8820d4a9d9684e3c40d Mon Sep 17 00:00:00 2001 From: MrDwarf7 <129040985+MrDwarf7@users.noreply.github.com> Date: Thu, 24 Apr 2025 01:52:42 +1000 Subject: [PATCH] ci/cd: generate checksums for scoop --- .github/workflows/draft.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index f0adf3b2..4a23f4a7 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -235,7 +235,12 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git tag --force nightly && git push --force origin tag nightly + - name: "Checksum" + shell: bash + run: "for f in yazi-*.{zip,snap} ; do sha256sum $f > $f.sha256 ; done" - name: Nightly + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} uses: softprops/action-gh-release@v2 with: tag_name: nightly @@ -243,6 +248,7 @@ jobs: files: | yazi-*.zip yazi-*.snap + yazi-*.{zip,snap}.sha256 name: Nightly Build body: ${{ env.NIGHTLY_BODY }} target_commitish: ${{ github.sha }}