Skip to content

Commit eee0538

Browse files
authored
Update CI-bump-build-number.yml
1 parent db29007 commit eee0538

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/CI-bump-build-number.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ jobs:
1616
run: |
1717
xcrun agvtool next-version -all
1818
19-
- name: Push Changes
19+
- name: Commit Changes
2020
run: |
2121
git add .
2222
git config --local user.email "action@github.com"
2323
git config --local user.name "GitHub Action"
2424
git commit -m "bump build number"
25-
git push origin HEAD -f
25+
- name: Push Changes
26+
uses: ad-m/github-push-action@v0.6.0
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
branch: main
30+
force: true

0 commit comments

Comments
 (0)