修正 go mod 不兼容

This commit is contained in:
naiba 2020-12-13 02:00:41 +08:00
parent 5a4590a582
commit 6d48ddd2a9

View File

@ -24,9 +24,11 @@ jobs:
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/')