From 7686756dcc1cb6a3ca0101dff230d43d13860a73 Mon Sep 17 00:00:00 2001 From: Annika Merris Date: Sun, 4 Feb 2024 09:45:37 -0500 Subject: [PATCH] Only Do This For Tags? --- .forgejo/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 27b52aa..e8e5489 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -44,6 +44,7 @@ jobs: - name: Extract Binary For Release uses: https://github.com/moosetheory/actions-docker-extract@v3.1 id: extract + if: startsWith(github.ref, 'refs/tags/') with: shell_command: /bin/ash -c image: forgejo.merr.is/${{ github.repository }}:${{ github.head_ref || github.ref_name }}.${{ github.run_number }} @@ -51,6 +52,7 @@ jobs: destination: /dist - name: Create Release uses: https://github.com/softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: files: | dist/isl-api