Revert "💩"

This reverts commit 4d4e332a55.
This commit is contained in:
naiba 2020-12-13 11:37:46 +08:00
parent 4d4e332a55
commit e1f0952223
2 changed files with 13 additions and 3 deletions

View File

@ -16,6 +16,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Go latest version
uses: actions/setup-go@v2
- run: |
go mod vendor
mkdir -p /home/runner/go/src/
mv ./vendor/* /home/runner/go/src/
git checkout .
mkdir -p /home/runner/go/src/github.com/naiba/nezha
cp -r ../nezha /home/runner/go/src/github.com/naiba/
- name: Set up Go 1.10.8
uses: actions/setup-go@v2
with:
go-version: 1.10.8
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')

View File

@ -1,6 +1,3 @@
before:
hooks:
- go mod tidy -v
builds:
- id: nezha-agent
env: