Update update_meta_core_test.yaml
This commit is contained in:
3
.github/workflows/update_meta_core_test.yaml
vendored
3
.github/workflows/update_meta_core_test.yaml
vendored
@@ -56,7 +56,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
version=${{ github.event.inputs.tag2 }}
|
version=${{ github.event.inputs.tag2 }}
|
||||||
echo version=$version >> $GITHUB_OUTPUT
|
echo version=$version >> $GITHUB_OUTPUT
|
||||||
[ -n "$TAGS" ] && echo tags="--tags=${TAGS}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
cross:
|
cross:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -121,7 +120,7 @@ jobs:
|
|||||||
|
|
||||||
- name: build core
|
- name: build core
|
||||||
id: build
|
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
|
- name: Upload file to workspace
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user