ci: Support running from a worktree
Opened this issue · 1 comments
maflcko commented
Currently, when running the CI from a worktree, it will fail with:
++ git config --global ci.base-install-done
fatal: not a git repository: .git/worktrees/test2
git config --global
is used here, because it allows to write a flag to storage on macOS and Linux. If someone knows of a different way to persist a flag on macOS and Linux, it should be used instead.
maflcko commented
I guess macos
can just be skipped, as it will never run the base-install twice, so doesn't need caching.