File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,12 +4,6 @@ name: Update Version
44
55# Controls when the workflow will run
66on :
7- # Triggers the workflow on push or pull request events but only for the main branch
8- push :
9- branches : [ main ]
10- pull_request :
11- branches : [ main ]
12-
137 # Allows you to run this workflow manually from the Actions tab
148 workflow_dispatch :
159
@@ -23,13 +17,12 @@ jobs:
2317 # Steps represent a sequence of tasks that will be executed as part of the job
2418 steps :
2519 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26- - name : Checkout Code
27- uses : actions/checkout@v2
28- with :
29- ref : ${{ github.head_ref }} # checkout the correct branch name
30- fetch-depth : 0 # fetch the whole repo history
31-
32- - name : Git Version
20+ - name : Bump version
21+ uses : remorses/bump-version@js
22+ with :
23+ version_file : ./VERSION
24+ github_token : ${{ secrets.GITHUB_TOKEN }}
25+ - name : Git Version
3326 uses : codacy/git-version@2.4.0
3427 with :
3528 release-branch : main
You can’t perform that action at this time.
0 commit comments