Skip to content

Commit 4c73319

Browse files
committed
wip
1 parent 6a8d6bd commit 4c73319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-swift-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
3838
git fetch
3939
BRANCH=ci/update-swift-version
40-
if git show-ref --verify --quiet "refs/heads/$BRANCH"; then
41-
git checkout "$BRANCH"
40+
if git ls-remote --exit-code --heads origin "$BRANCH"; then
41+
git checkout -b "$BRANCH" --track "origin/$BRANCH"
4242
else
4343
git checkout -b "$BRANCH"
4444
fi

0 commit comments

Comments
 (0)