CI: yet another GH actions workaround (take 5)

This commit is contained in:
Louis Gesbert 2024-01-21 23:16:08 +01:00
parent 1cbda684bd
commit c1d0411bf3

View File

@ -107,11 +107,11 @@ jobs:
ln -s "french_law_${RELEASE_TAG}_ocaml.tar.gz" artifacts/french_law_ocaml.tar.gz
ln -s "french_law_${RELEASE_TAG}_js.tar.gz" artifacts/french_law_js.tar.gz
ln -s "french_law_${RELEASE_TAG}_python.tar.gz" artifacts/french_law_python.tar.gz
- name: Workaround permissions error
# Uploading artifacts would work but then return failure with:
# EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output_xxx'
run: sudo chmod -R a+rwX /__w/_temp/_runner_file_commands
- name: Upload artifacts
continue-on-error: true
# Uploading artifacts works but then return failure with:
# EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output_xxx'
# a chmod doesn't work around it so we resort to just ignoring the error...
uses: actions/upload-artifact@v4
with:
name: Catala examples