File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 description : ' Version to release (e.g., 1.0.0)'
1111 required : true
1212 type : string
13- create_tag :
14- description : ' Create tag for this version'
15- required : true
16- type : boolean
17- default : true
1813
1914env :
2015 PYTHON_VERSION : " 3.11"
@@ -108,20 +103,6 @@ jobs:
108103 exit 1
109104 fi
110105
111- create-tag :
112- runs-on : ubuntu-latest
113- needs : validate-version
114- if : github.event_name == 'workflow_dispatch' && github.event.inputs.create_tag == 'true'
115- steps :
116- - uses : actions/checkout@v4
117-
118- - name : Create and push tag
119- run : |
120- git config user.name "github-actions[bot]"
121- git config user.email "github-actions[bot]@users.noreply.github.com"
122- git tag ${{ needs.validate-version.outputs.tag_name }}
123- git push origin ${{ needs.validate-version.outputs.tag_name }}
124-
125106 build :
126107 runs-on : ubuntu-latest
127108 needs : validate-version
You can’t perform that action at this time.
0 commit comments