From c23a2cb8f24b8c902623eb4bbf200c9d4292c620 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Sun, 29 Jan 2023 22:06:15 +0800 Subject: [PATCH] More fixes for git safe dir --- .github/workflows/bootstrap-f38.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bootstrap-f38.yml b/.github/workflows/bootstrap-f38.yml index f8f52fa865..71192c6da6 100644 --- a/.github/workflows/bootstrap-f38.yml +++ b/.github/workflows/bootstrap-f38.yml @@ -18,16 +18,17 @@ jobs: - uses: actions/setup-go@v3 with: go-version: "^1.19" + - uses: actions/checkout@v3 + with: + repository: FyraLabs/subatomic - name: Install repositories run: | sudo dnf install -y dnf-plugins-core sudo dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/terra${{ matrix.version }}.repo sudo dnf install -y mock createrepo_c rpm-build anda-mock-configs gcc curl wget git-core openssl-devel - - uses: actions/checkout@v3 - with: - repository: FyraLabs/subatomic - set-safe-directory: true + git config --global --add safe.directory /__w/packages/packages + - uses: actions-rs/toolchain@v1 with: toolchain: stable