From 564b4817e1be620dc1688713503f7d24d12f3c12 Mon Sep 17 00:00:00 2001 From: snail Date: Thu, 24 Oct 2024 16:13:31 +0800 Subject: [PATCH] update ci.yml --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36e9de3..e05c9a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,20 +27,12 @@ jobs: - name: Set output id: set_output run: | - echo "tag=`basename ${{ github.ref }}`" >> $GITHUB_OUTPUT if [ ${{ matrix.os }} = "windows" ]; then echo "exe=bbx-${{ matrix.os }}-${{ matrix.arch }}.exe" >> $GITHUB_OUTPUT else echo "exe=bbx-${{ matrix.os }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT fi - echo ${{ steps.set_output.outputs.tag }} - - - - name: show - run: | - echo ${{ steps.set_output.outputs.tag }} - - name: Set up Go uses: actions/setup-go@v2 with: @@ -68,6 +60,10 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Set output + id: set_output + run: | + echo "tag=`basename ${{ github.ref }}`" >> $GITHUB_OUTPUT - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1