From 3440581fa6b4a3173861a091b0c04b7116c91d26 Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 23 May 2024 19:43:54 +0800 Subject: [PATCH] zzzz Signed-off-by: peefy --- .github/workflows/release.yaml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 43f3815..5ed2426 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,10 +1,7 @@ # Reference from: # https://goreleaser.com/ci/actions/ name: Release -on: - push: - tags: - - "v*" +on: [push, pull_request] permissions: contents: write jobs: @@ -89,23 +86,3 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - binary: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: 1.21 - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}