Skip to content

Commit 8cd2160

Browse files
authored
Merge pull request #68 from gotify/release-stuff
ci: only release on tag push
2 parents b7e7ab8 + 4de4625 commit 8cd2160

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.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)