Skip to content

Commit

Permalink
ci: Change to auto-release on push (#331)
Browse files Browse the repository at this point in the history
Signed-off-by: sagilio <sagilio@outlook.com>
  • Loading branch information
sagilio authored Aug 26, 2023
1 parent e36209e commit 770125e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Push

on: workflow_dispatch
on:
push:
tags:
- v2.*
- v1.*
workflow_dispatch:

env:
SHA: ${{ GITHUB.SHA }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Release

on: workflow_dispatch
on:
push:
branches:
- master
- main
- 1.x
workflow_dispatch:

env:
SHA: ${{ GITHUB.SHA }}
Expand Down

0 comments on commit 770125e

Please sign in to comment.