From 7342a6d2a87cafbf8e1eb4ea344f78ef700147bf Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Sun, 29 Jan 2023 22:54:55 +0800 Subject: [PATCH] a --- .github/workflows/bootstrap-f38.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bootstrap-f38.yml b/.github/workflows/bootstrap-f38.yml index b29c0bd828..3bad570be4 100644 --- a/.github/workflows/bootstrap-f38.yml +++ b/.github/workflows/bootstrap-f38.yml @@ -27,7 +27,6 @@ jobs: 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 - git config --global --add safe.directory "$GITHUB_WORKSPACE" - uses: actions-rs/toolchain@v1 with: @@ -39,7 +38,7 @@ jobs: args: anda - name: Build Subatomic - run: git log -1 --format='%H'; anda build -c anda-38-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')" + run: git config --global --add safe.directory "$GITHUB_WORKSPACE"; git log -1 --format='%H'; anda build -c anda-38-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')" - name: Install Subatomic run: sudo dnf install -y ./anda-build/rpm/rpms/subatomic-*.rpm