Skip to content

Commit

Permalink
Build prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Apr 12, 2024
1 parent 8d7081b commit cc6559c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,22 @@ jobs:
workflow: build.yml
name: spoon.exe

- name: Create pre-release
uses: softprops/action-gh-release@v1
if: ${{ endsWith(github.ref, 'pre') }}
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
prerelease: true
files: |
spoon.exe
- name: Create release
uses: softprops/action-gh-release@v1
if: ${{ ! endsWith(github.ref, 'pre') }}
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
prerelease: false
files: |
spoon.exe

0 comments on commit cc6559c

Please sign in to comment.