From 4247346029a7c4697df884590c6385561e772b97 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Mon, 12 Jun 2023 23:52:01 +0900 Subject: Use tag or sha for tarball name since branch name can have arbitrary characters (#2260) --- .github/actions/release-archive/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/actions/release-archive/action.yml b/.github/actions/release-archive/action.yml index a81cf918..22cb88d3 100644 --- a/.github/actions/release-archive/action.yml +++ b/.github/actions/release-archive/action.yml @@ -14,7 +14,7 @@ runs: shell: bash run: | OSNAME=$(echo ${{ inputs.os }} | sed 's/-latest//') - VERSION=${{ github.ref_name }} + VERSION=${{ github.event.release.tag_name || github.sha }} PKGNAME="wabt-$VERSION-$OSNAME" TARBALL=$PKGNAME.tar.gz SHASUM=$PKGNAME.tar.gz.sha256 -- cgit v1.2.3