File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ jobs:
138138
139139 env :
140140 DANGER_RUN_CI_ON_HOST : 1
141- BASE_ROOT_DIR : ${{ github.workspace }}
141+ BASE_ROOT_DIR : ${{ github.workspace }}/repo_archive
142142
143143 steps :
144144 - &CHECKOUT
@@ -176,8 +176,16 @@ jobs:
176176 key : ${{ github.job }}-${{ matrix.job-type }}-ccache-${{ github.run_id }}
177177 restore-keys : ${{ github.job }}-${{ matrix.job-type }}-ccache-
178178
179+ - name : Create git archive
180+ run : |
181+ git log -1
182+ git archive --format=tar --prefix=repo_archive/ --output=repo.tar HEAD
183+ tar -xf repo.tar
184+
179185 - name : CI script
180- run : ./ci/test_run_all.sh
186+ run : |
187+ cd repo_archive
188+ ./ci/test_run_all.sh
181189 env :
182190 FILE_ENV : ${{ matrix.file-env }}
183191
You can’t perform that action at this time.
0 commit comments