Skip to content

Commit

Permalink
ci: Fixup of Arch matrix action, as git is not available right away
Browse files Browse the repository at this point in the history
  • Loading branch information
bostjan committed Jul 27, 2023
1 parent 65ce34d commit 1cb5adf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-qa-arch-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ jobs:
fetch-depth: 0

# Work around the fix for CVE-2022-24765
- run: git config --global --add safe.directory $GITHUB_WORKSPACE || true
# (In this particular instance, git is not installed yet at this point.)
# (The repo "clone" here is that actions/checkout@v1 magic that kinda looks like a git clone.)
# (This command has been moved further down to where git is actually available [more or less accidentally, tbh].)
#- run: git config --global --add safe.directory $GITHUB_WORKSPACE || true



Expand All @@ -108,6 +111,11 @@ jobs:
### Build
#
- run: ./dev-tools/install-dev-software.sh

# Work around the fix for CVE-2022-24765
# (Should be done higher up, but see higher up for why it is down here.)
- run: git config --global --add safe.directory $GITHUB_WORKSPACE || true

- run: ./bootstrap.sh
- run: ./configure --enable-option-checking=fatal --enable-everything
- run: make -j4
Expand Down

0 comments on commit 1cb5adf

Please sign in to comment.