@@ -128,7 +128,9 @@ jobs:
128
128
- name : Package Build and Source Directories
129
129
shell : bash
130
130
run : |
131
- tar -c . | zstd -T0 -c > llvm-project.tar.zst
131
+ # Dereference symlinks so that this works on Windows.
132
+ tar -h -c . | zstd -T0 -c > ../llvm-project.tar.zst
133
+ mv ../llvm-project.tar.zst .
132
134
tar -C ${{ steps.build.outputs.build-prefix }} -c build/ | zstd -T0 -c > build.tar.zst
133
135
134
136
- name : Upload Stage 1 Source
@@ -196,7 +198,9 @@ jobs:
196
198
- name : Save Build and Source Directories
197
199
shell : bash
198
200
run : |
199
- tar -c . | zstd -T0 -c > llvm-project.tar.zst
201
+ # Dereference symlinks so that this works on Windows.
202
+ tar -h -c . | zstd -T0 -c > ../llvm-project.tar.zst
203
+ mv ../llvm-project.tar.zst .
200
204
tar -C ${{ steps.unpack.outputs.build-prefix }} -c build/ | zstd -T0 -c > build.tar.zst
201
205
202
206
- name : Upload Stage 2 Source
@@ -300,7 +304,9 @@ jobs:
300
304
- name : Save Build and Source Directories
301
305
shell : bash
302
306
run : |
303
- tar -c . | zstd -T0 -c > llvm-project.tar.zst
307
+ # Dereference symlinks so that this works on Windows.
308
+ tar -h -c . | zstd -T0 -c > ../llvm-project.tar.zst
309
+ mv ../llvm-project.tar.zst .
304
310
tar -C ${{ steps.unpack.outputs.build-prefix }} -c build/ | zstd -T0 -c > build.tar.zst
305
311
306
312
- name : Upload Stage 3 Source
0 commit comments