Skip to content

Commit

Permalink
Create release in same job
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain GERARD committed Oct 24, 2020
1 parent d4426a3 commit 825dd9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Create Release
id: create_release
if: startsWith(github.ref, 'v')
if: contains(github.ref, 'v')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -31,7 +31,7 @@ jobs:

- name: Upload Release Asset
id: upload-release-asset
if: startsWith(github.ref, 'v')
if: contains(github.ref, 'v')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 825dd9c

Please sign in to comment.