maybe incompatible syntax in the last action
This commit is contained in:
@ -39,10 +39,10 @@ runs:
|
|||||||
|
|
||||||
- name: push to latest branch
|
- name: push to latest branch
|
||||||
run: |
|
run: |
|
||||||
if ! git ls-remote --exit-code --heads origin latest; then
|
if git ls-remote --exit-code --heads origin latest; then
|
||||||
git checkout -b latest
|
|
||||||
git push origin latest
|
|
||||||
else
|
|
||||||
git switch latest
|
git switch latest
|
||||||
git merge latest
|
git merge latest
|
||||||
|
else
|
||||||
|
git checkout -b latest
|
||||||
|
git push origin latest
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user