Only Do This For Tags?

This commit is contained in:
Annika Merris 2024-02-04 09:45:37 -05:00
parent 3b9dafe025
commit 7686756dcc

View file

@ -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