修改内核压缩方式

This commit is contained in:
juewuy 2024-01-29 18:44:23 +08:00
parent 4cf7952f26
commit 6d2edbdcd8

View File

@ -41,11 +41,6 @@ jobs:
version: ${{steps.meta.outputs.version}}
tags: ${{steps.meta.outputs.tags}}
steps:
- uses: actions/checkout@v4.1.1
with:
repository: ${{ github.event.inputs.tag1 }}
ref: ${{ github.event.inputs.tag2 }}
fetch-depth: 0
- name: setup go
uses: actions/setup-go@v4.1.0
@ -126,7 +121,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/metacubex/mihomo/constant.Version=${VERSION}' -s -w -buildid=" -tags "${TAGS}" -o meta
- name: Upload file to workspace
uses: actions/upload-artifact@v4