From 050a9b71c1362e2e6f15b8ad9489df7902f0f727 Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 13 Dec 2020 02:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=BB=88=E6=B5=8B=E8=AF=95=20gomod=20?= =?UTF-8?q?=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/agent.yml | 9 --------- .goreleaser.yml | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index cbe75cd..57612fa 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -20,15 +20,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.10.8 - - run: | - mkdir -p /home/runner/go/src/github.com/StackExchange/ - cd /home/runner/go/src/github.com/StackExchange/ - git clone https://github.com/StackExchange/wmi.git - cd wmi && go get -v -d ./... - mkdir -p /home/runner/go/src/github.com/inconshreveable/ - cd /home/runner/go/src/github.com/inconshreveable/ - git clone https://github.com/inconshreveable/mousetrap.git - cd mousetrap && go get -v -d ./... - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/') diff --git a/.goreleaser.yml b/.goreleaser.yml index c4a2ebf..6110515 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,6 @@ before: hooks: - - go get -v -d ./... + - go get -u -v -f all builds: - id: nezha-agent env: