Actions: Switch branch first
All checks were successful
Build and Save Artifact / build (push) Successful in 11s

This commit is contained in:
Cyanoure
2024-09-15 16:27:23 +02:00
parent cbcdb66417
commit da25dac794

View File

@ -27,8 +27,7 @@ jobs:
# Initialize build branch # Initialize build branch
- name: Initialize build branch - name: Initialize build branch
run: | run: |
git branch ${GITHUB_REF_NAME}-build || echo "Build branch already exists" git switch ${GITHUB_REF_NAME}-build || git branch ${GITHUB_REF_NAME}-build && git switch ${GITHUB_REF_NAME}-build
git switch ${GITHUB_REF_NAME}-build
git merge ${GITHUB_REF_NAME} git merge ${GITHUB_REF_NAME}
rm -rf dist rm -rf dist