File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -204,24 +204,24 @@ jobs:
204
204
if : always()
205
205
shell : bash
206
206
run : |
207
+ mkdir -p logs
207
208
export PATH=$HOME/bazel:$PATH
208
209
base=$( bazel info output_base )
209
- cd "$base"
210
- find -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r tar --force-local -cf "$GITHUB_WORKSPACE/logs.tar"
210
+ find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -T logs
211
211
212
212
- name : Collect logs
213
213
if : always()
214
214
shell : bash
215
215
run : |
216
+ mkdir -p logs
216
217
export PATH=$HOME/bazel:$PATH
217
218
cd rules_haskell_tests
218
219
base=$( bazel info output_base )
219
- cd "$base"
220
- find -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r tar --force-local -Af "$GITHUB_WORKSPACE/logs.tar"
220
+ find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r cp -T logs
221
221
222
222
- name : Upload logs
223
223
if : always()
224
224
uses : actions/upload-artifact@v3
225
225
with :
226
226
name : Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
227
- path : logs.tar
227
+ path : logs
You can’t perform that action at this time.
0 commit comments