nezha/.github/workflows/agent.yml

26 lines
517 B
YAML
Raw Normal View History

2020-11-29 09:17:40 -05:00
name: Agent release
on:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
2021-11-04 00:55:12 -04:00
- uses: actions/setup-go@v2
with:
2022-03-22 06:46:18 -04:00
go-version: "^1.18.0"
2020-11-29 09:17:40 -05:00
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
2020-11-29 09:17:40 -05:00
version: latest
args: release --rm-dist
2021-11-08 21:16:23 -05:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}