From 7d0d8a55d7b9da8b17af77d70ba2213bf5c2795f Mon Sep 17 00:00:00 2001 From: snail Date: Thu, 24 Oct 2024 12:10:38 +0800 Subject: [PATCH] update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6e6ba9..e817004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: path: bbx-${{ matrix.arch }} - name: Run + id: Run run: | current_tag=`basename ${{ github.ref }}` echo $current_tag @@ -55,7 +56,7 @@ jobs: uses: softprops/action-gh-release@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - tag_name: ${{ github.ref }} + tag_name: ${{ steps.Run.outputs.current_tag }} files: | ./bbx-${{ matrix.arch }}