From 55ff0d44445416167ecae525701c13974ef619ea Mon Sep 17 00:00:00 2001 From: juewuy <61367819+juewuy@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:01:45 +0800 Subject: [PATCH] Update update_meta_core_test.yaml --- .github/workflows/update_meta_core_test.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/update_meta_core_test.yaml b/.github/workflows/update_meta_core_test.yaml index 193ac6e..4278de2 100644 --- a/.github/workflows/update_meta_core_test.yaml +++ b/.github/workflows/update_meta_core_test.yaml @@ -51,11 +51,6 @@ jobs: with: go-version: ${{needs.go.outputs.version}} - - name: get meta version - id: meta - run: | - echo version=${{ github.event.inputs.tag2 }} >> $GITHUB_OUTPUT - cross: strategy: matrix: @@ -103,7 +98,6 @@ jobs: GOMIPS: ${{ matrix.gomips }} CGO_ENABLED: 0 TAGS: ${{needs.meta.outputs.tags}} - VERSION: ${{needs.meta.outputs.version}} steps: - name: Checkout meta uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -119,7 +113,7 @@ jobs: - name: build core id: build - run: go build -v -trimpath -ldflags "-X 'github.com/sagernet/meta/constant.Version=${VERSION}' -s -w -buildid=" --tags="${TAGS}" + run: go build -v -trimpath -ldflags "-X 'github.com/sagernet/meta/constant.Version=${{ github.event.inputs.tag2 }}' -s -w -buildid=" --tags="${TAGS}" - name: Upload file to workspace uses: actions/upload-artifact@v4