Skip to content

Commit b4d65e6

Browse files
committed
Improve get rid of unnecessary or full checkouts
1 parent 5a82087 commit b4d65e6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
22-
fetch-depth: 0
23-
lfs: true
22+
sparse-checkout: |
23+
ProjectSettings/ProjectVersion.txt
2424
2525
- name: Set unity version
2626
id: set_unity_version
@@ -76,7 +76,6 @@ jobs:
7676
steps:
7777
- uses: actions/checkout@v4
7878
with:
79-
fetch-depth: 0
8079
lfs: true
8180

8281
# Avoid running into space issues for github runners - Docker images can take up quite some space
@@ -166,9 +165,6 @@ jobs:
166165
if: ${{ github.repository_owner == 'JohannesDeml' }}
167166
runs-on: ubuntu-latest
168167
steps:
169-
- name: Checkout code
170-
uses: actions/checkout@v4
171-
172168
- uses: actions/download-artifact@v4
173169
with:
174170
name: ${{ needs.variables.outputs.BUILD_NAME }}

0 commit comments

Comments
 (0)