Skip to content

Commit 4de4625

Browse files
committed
ci: only release on tag push
1 parent b7e7ab8 commit 4de4625

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
name: Release
22

33
on:
4-
workflow_run:
5-
workflows: ["Go Check"]
6-
types:
7-
- completed
8-
branches:
9-
- master
4+
push:
5+
tags:
6+
- v*
107

118
jobs:
129
release:
13-
10+
1411
runs-on: ubuntu-latest
1512
if: ${{ github.event.workflow_run.conclusion == 'success' }}
16-
13+
1714
steps:
1815
- name: Checkout code
1916
uses: actions/checkout@v4

0 commit comments

Comments
 (0)