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

This commit is contained in:
sh authored and GitHub committed 2025-09-23 09:08:56 +01:00
1 parent 54a2a6c905
commit 3a9381b966
2 files changed
+2 -2

No files matched your search

+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