Skip to content

Commit

Permalink
Remove unnecessary conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
raccog committed Jan 6, 2024
1 parent 4743185 commit 132765f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ jobs:

- name: continuous release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release' && github.repository == 'mortbopet/Ripes'
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release'
with:
prerelease: true
files: Ripes*.AppImage*
tag_name: continuous
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release') && (github.repository == 'mortbopet/Ripes')
- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release')
name: tagged release
uses: softprops/action-gh-release@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mac-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:

- name: continuous release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release' && github.repository == 'mortbopet/Ripes'
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release'
with:
prerelease: true
files: ${{ env.APPNAME }}.zip
tag_name: continuous
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release') && (github.repository == 'mortbopet/Ripes')
- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release')
name: tagged release
uses: softprops/action-gh-release@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:

- name: continuous release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release' && github.repository == 'mortbopet/Ripes'
if: github.ref == 'refs/heads/master' && matrix.build-type == 'Release'
with:
prerelease: true
files: ${{ env.APPNAME }}
tag_name: continuous
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release') && (github.repository == 'mortbopet/Ripes')
- if: (startsWith(github.ref, 'refs/tags/')) && (matrix.build-type == 'Release')
name: tagged release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 132765f

Please sign in to comment.