修正 go mod 不兼容
This commit is contained in:
parent
5a4590a582
commit
6d48ddd2a9
2
.github/workflows/agent.yml
vendored
2
.github/workflows/agent.yml
vendored
@ -24,9 +24,11 @@ jobs:
|
|||||||
mkdir -p /home/runner/go/src/github.com/StackExchange/
|
mkdir -p /home/runner/go/src/github.com/StackExchange/
|
||||||
cd /home/runner/go/src/github.com/StackExchange/
|
cd /home/runner/go/src/github.com/StackExchange/
|
||||||
git clone https://github.com/StackExchange/wmi.git
|
git clone https://github.com/StackExchange/wmi.git
|
||||||
|
cd wmi && go get -v -d ./...
|
||||||
mkdir -p /home/runner/go/src/github.com/inconshreveable/
|
mkdir -p /home/runner/go/src/github.com/inconshreveable/
|
||||||
cd /home/runner/go/src/github.com/inconshreveable/
|
cd /home/runner/go/src/github.com/inconshreveable/
|
||||||
git clone https://github.com/inconshreveable/mousetrap.git
|
git clone https://github.com/inconshreveable/mousetrap.git
|
||||||
|
cd mousetrap && go get -v -d ./...
|
||||||
- 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/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user