feat: add conditional check for release event in publish job

This commit is contained in:
t8y2
2026-04-30 11:37:13 +08:00
parent 1fb5d2bff1
commit 8fc79cf89f
+1
View File
@@ -14,6 +14,7 @@ env:
jobs:
publish:
name: Publish to Homebrew & Scoop
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: Extract version from tag