From 54bfb0dfde5e040b1ef94eefbdf69a30a72e3939 Mon Sep 17 00:00:00 2001 From: HuangWei Date: Fri, 22 Sep 2023 03:20:43 +0000 Subject: [PATCH] build: add sha256 in release --- .github/workflows/cicd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index d2a7485c4894f..9fb1a4e3b2a1f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -35,11 +35,16 @@ jobs: run: | ./dev/make-distribution.sh --name openmldbspark --tgz -Phadoop-3.3 -Pyarn -Pkubernetes -Phive -Phive-thriftserver + - name: generate signature + run: | + sha256sum spark-*-bin-openmldbspark.tgz > SHA256SUM + - name: Release if: startsWith(github.ref, 'refs/tags/v') uses: softprops/action-gh-release@v1 with: files: | spark-*-bin-openmldbspark.tgz + SHA256SUM env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}