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 : Update manifest.xml
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ version :
6+ description : ' Version number to set in manifest.xml'
7+ required : true
8+ default : ' 0.0.0'
9+ jobs :
10+ push-dev :
11+ runs-on : ubuntu-22.04
12+ steps :
13+ - name : Set line endings
14+ run : git config --global core.autocrlf true
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+ with :
18+ ref : ' dev'
19+ fetch-depth : 0
20+ - name : Configure bot user
21+ run : |
22+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
23+ git config --global user.name "github-actions[bot]"
24+ - name : Update manifest.xml
25+ run : python3 update_manifest.py --quiet --in-place --set-version ${{ github.event.inputs.version }}
26+ - name : Push to dev branch
27+ run : |
28+ git commit -am "Update manifest" --allow-empty --author="github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
29+ git push origin HEAD:dev
You can’t perform that action at this time.
0 commit comments