mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
💩
This commit is contained in:
parent
1991f0636b
commit
4d4e332a55
13
.github/workflows/agent.yml
vendored
13
.github/workflows/agent.yml
vendored
@ -16,19 +16,6 @@ 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/')
|
||||
|
@ -1,3 +1,6 @@
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy -v
|
||||
builds:
|
||||
- id: nezha-agent
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user