Skip to content

Commit

Permalink
github: only create release if a tag was pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Nov 6, 2023
1 parent 28030ed commit c7766b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build_firmware
if: github.event_name != 'pull_request'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
Expand Down

0 comments on commit c7766b4

Please sign in to comment.