From 7fb9e79d3575ba692f8fda29e27bfda9b2b2a5fe Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Fri, 1 Sep 2023 20:13:33 +0200 Subject: [PATCH] Fix conditional upload of surefire output for SSSD (#22899) Closes #22898 --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a745e3caa9a..7cb6b9f8a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -586,28 +586,25 @@ jobs: sssd-unit-tests: name: SSSD runs-on: ubuntu-latest + if: ${{ needs.conditional.outputs.sssd == 'true' }} needs: - conditional - build timeout-minutes: 30 steps: - name: checkout - if: ${{ needs.conditional.outputs.sssd == 'true' }} uses: actions/checkout@v3 - id: integration-test-setup - if: ${{ needs.conditional.outputs.sssd == 'true' }} name: Integration test setup uses: ./.github/actions/integration-test-setup - id: weekly-cache-key - if: ${{ needs.conditional.outputs.sssd == 'true' }} name: Key for weekly rotation of cache shell: bash run: echo "key=ipa-data-`date -u "+%Y-%U"`" >> $GITHUB_OUTPUT - id: cache-maven-repository - if: ${{ needs.conditional.outputs.sssd == 'true' }} name: ipa-data cache uses: actions/cache@v3 with: @@ -615,7 +612,6 @@ jobs: key: ${{ steps.weekly-cache-key.outputs.key }} - name: Run tests - if: ${{ needs.conditional.outputs.sssd == 'true' }} run: .github/scripts/run-ipa.sh "${{ github.workspace }}" - name: Surefire reports