Skip to content

Commit f36c7ec

Browse files
authored
Merge pull request #25 from Cysharp/fix/checkout_unity
fix: unity checkout should use git
2 parents 9c62a70 + 19364bc commit f36c7ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-debug.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151
# with linux-il2cpp. image from https://hub.docker.com/r/gableroux/unity3d/tags
5252
image: gableroux/unity3d:${{ matrix.unity }}-linux-il2cpp
5353
steps:
54-
- run: apt update && apt install git -y
54+
# Ubuntu 18.04 git is too old, use ppa latest git.
55+
- run: |
56+
apt-get update && apt-get install --no-install-recommends -y software-properties-common && add-apt-repository -y ppa:git-core/ppa
57+
apt-get update && apt-get install --no-install-recommends -y git
5558
- uses: actions/checkout@v2
5659
- run: echo -n "$UNITY_LICENSE" >> .Unity.ulf
5760
env:

0 commit comments

Comments
 (0)