File tree Expand file tree Collapse file tree 2 files changed +21
-23
lines changed
Expand file tree Collapse file tree 2 files changed +21
-23
lines changed Original file line number Diff line number Diff line change 1717 ruby :
1818 - " 3.2.8"
1919 - " 3.3.8"
20- - " 3.4.3 "
20+ - " 3.4.4 "
2121 - " head"
2222
2323 os :
Original file line number Diff line number Diff line change 1-
21name : Bump version
32
43on :
54 workflow_dispatch :
65 inputs :
76 version :
8- description : ' What version level of bump?'
7+ description : " What version level of bump?"
98 required : true
10- default : ' patch'
9+ default : " patch"
1110 type : choice
1211 options :
13- - major
14- - minor
15- - patch
16-
12+ - major
13+ - minor
14+ - patch
1715
1816permissions :
1917 contents : write
@@ -24,18 +22,18 @@ jobs:
2422 env :
2523 GH_TOKEN : ${{ github.token }}
2624 steps :
27- - uses : actions/checkout@v4
28- - name : Set up Ruby
29- uses : ruby/setup-ruby@v1
30- with :
31- ruby-version : ' 3.3 '
32- - name : Set git config
33- run : |
34- git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
35- git config --global user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
36- git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/$GITHUB_REPOSITORY"
37- shell : bash
38- - name : Bump version
39- run : gem exec bump ${{ github.event.inputs.version }}
40- - name : push
41- run : git push
25+ - uses : actions/checkout@v4
26+ - name : Set up Ruby
27+ uses : ruby/setup-ruby@v1
28+ with :
29+ ruby-version : " 3.4 "
30+ - name : Set git config
31+ run : |
32+ git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
33+ git config --global user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
34+ git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/$GITHUB_REPOSITORY"
35+ shell : bash
36+ - name : Bump version
37+ run : gem exec bump ${{ github.event.inputs.version }}
38+ - name : push
39+ run : git push
You can’t perform that action at this time.
0 commit comments