This repository was archived by the owner on Jan 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : autorelease
1+ # This is a basic workflow to help you get started with the GitHub Auto-Release on Commit Action.
2+
3+ name : AutoRelease
24
35on :
46 push :
5- branches : [ main ] # support both master and main branch names
6- tags :
7- - ' v*' # this will trigger on any tag that starts with 'v'
7+ branches : [ main ]
88
9+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
910jobs :
11+ # This workflow contains a single job called "build"
1012 release :
13+ # The type of runner that the job will run on
1114 runs-on : ubuntu-latest
12-
15+
16+ # Steps represent a sequence of tasks that will be executed as part of the job
1317 steps :
14- - uses : actions/checkout@v3 # updated to newer version
15- with :
16- fetch-depth : 0 # this ensures all tags and history are available
17-
18- - name : create release
19- uses : cupoftea696/gh-action-auto-release@v1.0.2 # updated to newer version
18+ - uses : actions/checkout@v2
19+ - uses : CupOfTea696/gh-action-auto-release@v1.0.2
2020 with :
21- title : " release : $version"
21+ title : " Release : $version"
2222 tag : " v$semver"
2323 draft : false
24- regex : " /^release: v?#{semver}$/i" # more flexible regex pattern
25- prereleaseregex : " /^release: v?#{semver}-.*$/i"
24+ regex : " /^Release: #{semver}$/i"
2625 env :
27- github_token : ${{ secrets.github_token }}
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments