From 2abf750fc6a395b9ac4164e7ea314b25f6103b51 Mon Sep 17 00:00:00 2001 From: MatteoSchiff Date: Wed, 13 Mar 2024 14:58:37 +0100 Subject: [PATCH] ci: Release only on tag set --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bc4e192..0108f2e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -38,6 +38,7 @@ jobs: go-version: 1.21 - name: Release artifact id: use-go-action + if: startsWith(gitea.event.ref, 'refs/tags/v') uses: https://gitea.com/actions/release-action@main with: files: |-