Skip to content

Commit

Permalink
github: Declare workspace directory as safe
Browse files Browse the repository at this point in the history
This avoids unsafe-directory errors from git when generating the version header.
  • Loading branch information
jp7677 committed Jun 6, 2022
1 parent 731133e commit 3052a78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: Joshua-Ashton/arch-mingw-github-action@v7
with:
command: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
./package-release.sh "${{ env.VERSION }}" build --enable-tests
mkdir "${HOME}/tests-prefix"
WINEPREFIX="${HOME}/tests-prefix" WINEDEBUG=-all wine \
Expand Down

0 comments on commit 3052a78

Please sign in to comment.