diff --git a/.github/workflows/bootstrap-f38.yml b/.github/workflows/bootstrap-f38.yml index 114c29d8e7..e2a100c9ea 100644 --- a/.github/workflows/bootstrap-f38.yml +++ b/.github/workflows/bootstrap-f38.yml @@ -18,18 +18,18 @@ jobs: - uses: actions/setup-go@v3 with: go-version: "^1.19" - - 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/checkout@v3 + with: + repository: FyraLabs/subatomic + set-safe-directory: true + fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: @@ -41,7 +41,10 @@ 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