diff --git a/.github/workflows/zstd.yml b/.github/workflows/zstd.yml index ddbca1dbd..471e68baa 100644 --- a/.github/workflows/zstd.yml +++ b/.github/workflows/zstd.yml @@ -44,3 +44,19 @@ jobs: with: workflow: ${{ github.workflow }} artifact: build-mingw + + release: + needs: [test-alpine, + test-ubuntu, + test-windows, + test-nanoserver] + uses: ./.github/workflows/release.yml + with: + workflow: ${{ github.workflow }} + tool_version: '1.5.5' + prepare_body: | + bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md + bsdtar -Oxf ./build-mingw/build-mingw.tar.gz build-mingw.md >> body.md + artifacts: ./build-musl/build-musl.tar.gz,./build-mingw/build-mingw.tar.gz + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/zstd/build_musl.sh b/zstd/build_musl.sh index f44e7204d..2fbf82b58 100755 --- a/zstd/build_musl.sh +++ b/zstd/build_musl.sh @@ -36,8 +36,8 @@ strip "$tool_name" { printf '### %s SHA-256: %s %s -%s -' "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)" "$("./$tool_name" --version)" "$download_url" + +' "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)" "$("./$tool_name" --version)" } > "$self_toolset_name.md" cat "$self_toolset_name.md"