Skip to content

Commit

Permalink
Git safe dir
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic authored Oct 1, 2024
1 parent 4e62f7f commit 9f6c46b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,16 @@ jobs:

steps:

- name: Fix ownership
- name: Set reusable strings
id: strings
shell: bash
run: |
sudo chown -R ubuntu:ubuntu $GITHUB_WORKSPACE || true
echo "work-dir=$(pwd)" >> "$GITHUB_OUTPUT"
echo "build-output-dir=$(pwd)/build" >> "$GITHUB_OUTPUT"
echo "install-output-dir=$(pwd)/install" >> "$GITHUB_OUTPUT"
- name: Git safe dir
run: git config --global --add safe.directory ${{ steps.strings.outputs.work-dir }}

- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 9f6c46b

Please sign in to comment.