workflows: build: Add $GITHUB_WORKSPACE to safe.directory

See https://github.com/actions/checkout/issues/766.
This commit is contained in:
Ernestas Kulik 2023-07-29 12:42:59 +03:00
parent f5dc8f9978
commit 24efafc332

View file

@ -70,6 +70,10 @@ jobs:
- name: Install dependencies
run: "${GITHUB_WORKSPACE}/scripts/install-deps.sh"
# https://github.com/actions/checkout/issues/766
- name: Add workspace to safe.directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build
run: |
meson setup . _build