From ece665fdb1e9a7f41838fcd174a14bc369339bee Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Sun, 29 Jan 2023 23:06:45 +0800 Subject: [PATCH] aaaa --- .github/workflows/bootstrap-f38.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bootstrap-f38.yml b/.github/workflows/bootstrap-f38.yml index 3bad570be4..114c29d8e7 100644 --- a/.github/workflows/bootstrap-f38.yml +++ b/.github/workflows/bootstrap-f38.yml @@ -21,12 +21,15 @@ jobs: - uses: actions/checkout@v3 with: repository: FyraLabs/subatomic + set-safe-directory: true + fetch-depth: 1 - 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 + git config --global --add safe.directory "$GITHUB_WORKSPACE" - uses: actions-rs/toolchain@v1 with: @@ -38,7 +41,7 @@ jobs: args: anda - name: Build Subatomic - 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')" + run: 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