Skip to content

Commit 187a9a6

Browse files
committed
ci(release): avoid duplicate runs by removing release trigger
1 parent 87f72f4 commit 187a9a6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: release
22

33
on:
4-
release:
5-
types:
6-
- published
74
push:
85
tags:
96
- "v*"
@@ -26,9 +23,7 @@ jobs:
2623
- id: meta
2724
shell: bash
2825
run: |
29-
if [[ "${{ github.event_name }}" == "release" ]]; then
30-
echo "tag=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
31-
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
26+
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
3227
echo "tag=${{ github.event.inputs.tag }}" >> "$GITHUB_OUTPUT"
3328
else
3429
echo "tag=${{ github.ref_name }}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)