From 1d633585d54e617e4683e94a9df6cd4882b86fc2 Mon Sep 17 00:00:00 2001 From: lqqyt2423 <974923609@qq.com> Date: Sun, 21 Nov 2021 18:31:13 +0800 Subject: [PATCH] test release action --- .github/workflows/release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ca4b08..0dcf358 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,23 +1,24 @@ name: Release on: - workflow_dispatch: - inputs: - version: - description: version tag to release - required: true + push: + tags: + - 'v*.*.*' + jobs: - setup: + release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.17 + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: