nezha/.github/workflows/agent.yml
naiba 8ddb1e3909 恢复对部分 Windows 旧版本支持
Windows Vista, Windows Server 2008,  XP, Windows Server 2003 的 x64/x86
2020-12-12 23:48:34 +08:00

28 lines
575 B
YAML

name: Agent release
on:
push:
paths-ignore:
- "script/**"
- ".gitignore"
- "*.md"
- "cmd/dashboard/**"
- ".github/dashboard.yaml"
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
go-version: 1.10.8
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}