Skip to content

Commit

Permalink
Another attempt at fixing CI, love CI UX
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Apr 12, 2024
1 parent c4a617c commit 4a074b9
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, 'pre') }}
if: contains(github.ref_name, '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, 'pre') }}
if: "!contains(github.ref_name, 'pre')"
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
Expand Down

0 comments on commit 4a074b9

Please sign in to comment.