This commit is contained in:
Louis Lam 2026-01-13 14:01:43 +08:00 committed by GitHub
parent ac0853e913
commit b319027cef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,13 +44,9 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Configure git to use the GitHub token for authentication
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
# Delete local release branch if it exists
git branch -D release || true
# Create new release branch from current HEAD (master)
git checkout -b release
# Force push to remote (creates or updates the branch)
git push origin release --force
- name: Install dependencies