Skip to content

Commit b47e663

Browse files
committed
Change try again to checkout the commit after the merge
1 parent 77effc9 commit b47e663

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/upgrade-unity.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@ jobs:
8282
git fetch origin master
8383
git merge FETCH_HEAD
8484
git push
85-
git checkout ${{ github.ref }}
85+
git log -1
86+
87+
- name: Checkout latest commit on branch
88+
run: |
89+
git checkout $(git rev-parse HEAD)
90+
git log -1
8691
8792
# Unity 2020 cache is not compatible with older versions
8893
- name: Unity Library Cache 2020 or higher

0 commit comments

Comments
 (0)