From 9ba1e86e736d7623201ef42c12eaba753ca570cb Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 13 Dec 2020 01:48:01 +0800 Subject: [PATCH] fix --- .github/workflows/agent.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 98e8a9f..9a5838b 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -21,8 +21,12 @@ jobs: with: go-version: 1.10.8 - run: | - go get -u github.com/StackExchange/wmi - go get -u github.com/inconshreveable/mousetrap + 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 + 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 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/')