diff --git a/.github/workflows/ccache-build.yml b/.github/workflows/ccache-build.yml index 4bc99090b..a83d616a6 100644 --- a/.github/workflows/ccache-build.yml +++ b/.github/workflows/ccache-build.yml @@ -69,6 +69,7 @@ jobs: run: CXX=${{ steps.configure_compiler.outputs.cxx }} CC=${{ steps.configure_compiler.outputs.cc }} cmake -S . -B build - name: Build DNF5 + id: build run: cmake --build build - name: Display CCache statistics diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7052df44..dbadb25c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: jobs: package-build: name: Package Build + if: ${{ always() && contains(ccache-build.build.result, 'failure') }} runs-on: ubuntu-latest container: ghcr.io/rpm-software-management/dnf-ci-host strategy: