This commit is contained in:
naiba 2020-12-13 01:40:30 +08:00
parent 84ba9dc98b
commit 222c119e54
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,9 @@ jobs:
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.10.8 go-version: 1.10.8
run: |
go get -u github.com/StackExchange/wmi
go get -u github.com/inconshreveable/mousetrap
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')

View File

@ -1,8 +1,6 @@
before: before:
hooks: hooks:
- go get -v -d ./... - go get -v -d ./...
- go get -u github.com/StackExchange/wmi
- go get -u github.com/inconshreveable/mousetrap
builds: builds:
- id: nezha-agent - id: nezha-agent
env: env: