Skip to content

Commit

Permalink
Try endsWith with conditional expression
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Mar 4, 2020
1 parent c1acb38 commit 5200126
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
prerelease: endsWith(github.ref, '-dev/')
if: endsWith(github.ref, '-dev')
prerelease: true
- name: Upload Release Asset
uses: svenstaro/upload-release-action@v1-release
with:
Expand Down

0 comments on commit 5200126

Please sign in to comment.