.github: set test_artifacts/ permissions before uploading
When reporting a coredump upload-artifact does not have permissions to read it. Therefore, we are setting all the test_artifacts/ files to 777. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
1f12cf9b62
commit
40997a934c
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -47,6 +47,10 @@ jobs:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: .github/workflows/run_test.sh ${{ matrix.job_type }}
|
||||
|
||||
- name: Set artifacts permissions
|
||||
if: ${{ failure() }}
|
||||
run: sudo chmod 777 test_artifacts/*
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user