diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 3665cc1..dd37618 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -20,6 +20,9 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.10.8 + run: | + go get -u github.com/StackExchange/wmi + go get -u github.com/inconshreveable/mousetrap - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/') diff --git a/.goreleaser.yml b/.goreleaser.yml index d14f268..c4a2ebf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,6 @@ before: hooks: - go get -v -d ./... - - go get -u github.com/StackExchange/wmi - - go get -u github.com/inconshreveable/mousetrap builds: - id: nezha-agent env: