From f29a60862c7136df6b208de7483704b9e2f85163 Mon Sep 17 00:00:00 2001 From: juewuy Date: Mon, 29 Jan 2024 16:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=85=E6=A0=B8=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_meta_core_test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_meta_core_test.yaml b/.github/workflows/update_meta_core_test.yaml index 4278de2..5e2f14b 100644 --- a/.github/workflows/update_meta_core_test.yaml +++ b/.github/workflows/update_meta_core_test.yaml @@ -98,6 +98,7 @@ jobs: GOMIPS: ${{ matrix.gomips }} CGO_ENABLED: 0 TAGS: ${{needs.meta.outputs.tags}} + VERSION: ${{ github.event.inputs.tag2 }} steps: - name: Checkout meta uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -113,7 +114,7 @@ jobs: - name: build core id: build - run: go build -v -trimpath -ldflags "-X 'github.com/sagernet/meta/constant.Version=${{ github.event.inputs.tag2 }}' -s -w -buildid=" --tags="${TAGS}" + run: go build -v -trimpath -ldflags "-X 'github.com/sagernet/meta/constant.Version=${VERSION}' -s -w -buildid=" --tags="${TAGS}" - name: Upload file to workspace uses: actions/upload-artifact@v4 @@ -128,7 +129,7 @@ jobs: runs-on: ubuntu-latest env: RELEASE: ${{ github.event.inputs.tag3 }} - VERSION: ${{needs.meta.outputs.version}} + VERSION: ${{ github.event.inputs.tag2 }} steps: - name: Download file from workspace uses: actions/download-artifact@v4