Skip to content

Commit

Permalink
github: workflows: build: Set safe.directory to avoid git issues when…
Browse files Browse the repository at this point in the history
… generating env variables

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Mar 12, 2024
1 parent 60f0191 commit e2c1985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
export PATH="$HOME/.cargo/bin:$PATH"
apt install -y pkg-config libudev-dev libssl-dev openssl
sccache --show-stats
# Fix issues related to git unable to use current directory since its not from current user
git config --global --add safe.directory *
RUSTC_WRAPPER=sccache cargo build --verbose --release --features raspberry
sccache --show-stats
- name: Rename
Expand Down

0 comments on commit e2c1985

Please sign in to comment.