Skip to content

Commit bfca9bc

Browse files
committed
Use correct tag check for release
1 parent ab5cf13 commit bfca9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
path: build/prawnblaster/*.uf2
2929

3030
- name: Create release
31-
if: ${{ github.event.ref_type == 'tag' }}
31+
if: (github.event_name == 'push' && contains(github.ref, '/tags'))
3232
uses: "marvinpinto/action-automatic-releases@latest"
3333
with:
3434
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)