Compare commits
2 Commits
v1.4
...
915a2fc67e
| Author | SHA1 | Date | |
|---|---|---|---|
|
915a2fc67e
|
|||
|
afec455c18
|
10
action.yml
10
action.yml
@ -20,6 +20,8 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
@ -39,10 +41,10 @@ runs:
|
||||
|
||||
- name: push to latest branch
|
||||
run: |
|
||||
if ! git ls-remote --exit-code --heads origin latest; then
|
||||
git checkout -b latest
|
||||
git push origin latest
|
||||
else
|
||||
if git ls-remote --exit-code --heads origin latest; then
|
||||
git switch latest
|
||||
git merge latest
|
||||
else
|
||||
git checkout -b latest
|
||||
git push origin latest
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user