diff options
| -rw-r--r-- | .github/workflows/daemon.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/rust-unused-dependencies.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml index 2300169679..6e054dbd0d 100644 --- a/.github/workflows/daemon.yml +++ b/.github/workflows/daemon.yml @@ -69,7 +69,9 @@ jobs: uses: actions/checkout@v3 - name: Checkout binaries submodule - run: git submodule update --init --depth=1 dist-assets/binaries + run: | + git config --global --add safe.directory '*' + git submodule update --init --depth=1 dist-assets/binaries # The container image already has rustup and Rust, but only the stable toolchain - name: Install Rust toolchain diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml index e1600ea340..e8d708667f 100644 --- a/.github/workflows/rust-unused-dependencies.yml +++ b/.github/workflows/rust-unused-dependencies.yml @@ -41,7 +41,9 @@ jobs: uses: actions/checkout@v3 - name: Checkout binaries submodule - run: git submodule update --init --depth=1 dist-assets/binaries + run: | + git config --global --add safe.directory '*' + git submodule update --init --depth=1 dist-assets/binaries - name: Install nightly Rust toolchain run: rustup default $RUST_NIGHTLY_TOOLCHAIN |
