ci: Only run release workflow on tag push

This commit is contained in:
Ethan P. 2023-09-22 11:32:06 -07:00
parent d5ea485a0b
commit a686d6742c
No known key found for this signature in database
GPG Key ID: B29B90B1B228FEBC

View File

@ -1,6 +1,5 @@
name: Release
on:
release: {}
push:
tags: ['*']
@ -38,6 +37,7 @@ jobs:
echo "title=${output_title}" >> "$GITHUB_OUTPUT"
- name: Create release
if: ${{ !env.ACT }}
uses: ncipollo/release-action@v1
with:
artifacts: "bat-extras-*.zip"