mirror of
https://forgejo.merr.is/annika/isl-api.git
synced 2025-12-11 12:08:46 -05:00
Only Do This For Tags?
This commit is contained in:
parent
3b9dafe025
commit
7686756dcc
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue