mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 15:44:10 +00:00
release workflow: checkout master to update readme
This commit is contained in:
parent
07cc47ff3e
commit
d624263e81
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -51,10 +51,11 @@ jobs:
|
||||||
- name: Commit and push if it has changed
|
- name: Commit and push if it has changed
|
||||||
run: |
|
run: |
|
||||||
git diff
|
git diff
|
||||||
|
git checkout master
|
||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git commit -am "Update README"
|
git commit -am "Update README"
|
||||||
git push
|
git push origin master
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
Loading…
Add table
Reference in a new issue