Skip to content

Commit 15a213e

Browse files
committed
try to preserve file permissions in artifact
1 parent 022720f commit 15a213e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/run-dev-tests.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ jobs:
5555
run: choco install ninja
5656
- run: just test
5757
# continue-on-error: true
58+
- name: Tar build assets
59+
run: tar -cvf llvm-cov-target.tar target/llvm-cov-target
5860
- name: save build as artifact
5961
uses: actions/upload-artifact@v4
6062
with:
61-
path: target/llvm-cov-target
63+
path: llvm-cov-target.tar
6264
name: cpp-linter-lib_tests-${{ runner.os }}-${{ github.run_id }}
6365
retention-days: 1
6466

@@ -140,8 +142,9 @@ jobs:
140142
- name: restore build from artifact
141143
uses: actions/download-artifact@v4
142144
with:
143-
path: target/llvm-cov-target
144145
name: cpp-linter-lib_tests-${{ runner.os }}-${{ github.run_id }}
146+
- name: Un-Tar build assets
147+
run: tar -xvf llvm-cov-assets.tar
145148

146149
- name: Collect Coverage
147150
working-directory: cpp-linter-lib

0 commit comments

Comments
 (0)