💩
This commit is contained in:
parent
24c0d295d1
commit
a9b1ab9e95
14
.github/workflows/agent.yml
vendored
14
.github/workflows/agent.yml
vendored
@ -16,20 +16,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- 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/
|
|
||||||
find /home/runner/go/src/ -name "*riscv*.go" -exec rm -rf {} \;
|
|
||||||
- name: Set up Go 1.10.8
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: 1.10.8
|
|
||||||
- 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/')
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
- go mod tidy -v
|
||||||
builds:
|
builds:
|
||||||
- id: nezha-agent
|
- id: nezha-agent
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user