Skip to content

Commit

Permalink
Minor workflow tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetro48 committed Jan 24, 2023
1 parent ed0908f commit 98a10fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ jobs:
- name: "Pre-release"
uses: softprops/action-gh-release@v1
id: create_release
if: ${{ github.event_name == 'push' }} && startsWith(github.ref, 'refs/heads/')
if: startsWith(github.ref, 'refs/heads/')
with:
prerelease: true
generate_release_notes: true
tag_name: "build-${{ github.run_number }}"
files: dist/cambridge_*
- name: "Release"
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: dist/cambridge_*

0 comments on commit 98a10fe

Please sign in to comment.