From 465f49fd501e646d578ec6fb7ef2e07540595690 Mon Sep 17 00:00:00 2001 From: Alejandro Villar <avillar@ogc.org> Date: Fri, 2 Feb 2024 10:25:51 +0100 Subject: [PATCH] Fix permissions after docker image step --- .github/workflows/validate-and-process.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-and-process.yml b/.github/workflows/validate-and-process.yml index 31b3930..365bae6 100644 --- a/.github/workflows/validate-and-process.yml +++ b/.github/workflows/validate-and-process.yml @@ -117,8 +117,9 @@ jobs: viewer_path: ${{ inputs.viewer_path }} sparql_username: ${{ secrets.sparql_username }} sparql_password: ${{ secrets.sparql_password }} - - name: Compress large _visited_properties.tsv and git pull + - name: Fix permissions, compress large _visited_properties.tsv, git pull run: | + sudo chown -R $UID:$(id -g) . sudo find "${{ inputs.annotated_path }}" -size +10M -name _visited_properties.tsv \ -exec gzip \{\} \; git pull