ci/scripts: execute git version if chmod fails (#1643)

This commit is contained in:
sh
2025-09-23 09:08:56 +01:00
committed by GitHub
parent 54a2a6c905
commit 3a9381b966
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ jobs:
if: matrix.should_run == true
shell: docker exec -t builder sh -eu {0}
run: |
chmod -R 777 dist-newstyle ~/.cabal && git config --global --add safe.directory '*'
chmod -fR 777 ~/.cabal ./dist-newstyle || :; git config --global --add safe.directory '*'
cabal clean
cabal update
cabal build --jobs=$(nproc) --enable-tests -fserver_postgres