diff --git a/.github/workflows/update_meta_core_test.yaml b/.github/workflows/update_meta_core_test.yaml index 8bf3cca..22ecc66 100644 --- a/.github/workflows/update_meta_core_test.yaml +++ b/.github/workflows/update_meta_core_test.yaml @@ -56,7 +56,6 @@ jobs: run: | version=${{ github.event.inputs.tag2 }} echo version=$version >> $GITHUB_OUTPUT - [ -n "$TAGS" ] && echo tags="--tags=${TAGS}" >> $GITHUB_OUTPUT cross: strategy: @@ -121,7 +120,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}" + 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