Skip to content

Commit

Permalink
ANOTHER ATTEMPT AT PRE-RELEASE BUILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Apr 12, 2024
1 parent 4a074b9 commit 36145a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Create pre-release
uses: softprops/action-gh-release@v1
if: contains(github.ref_name, 'pre')
if: contains(github.event.workflow_run.head_branch, 'pre')
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Create release
uses: softprops/action-gh-release@v1
if: "!contains(github.ref_name, 'pre')"
if: "!contains(github.event.workflow_run.head_branch, 'pre')"
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
Expand Down

0 comments on commit 36145a6

Please sign in to comment.