From c0cb11f2b09b9a1ca84d2342ac8a8814dfce13f5 Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Mon, 21 Oct 2024 20:34:41 -0500 Subject: [PATCH] chore: update gh action name --- .github/workflows/integration-test2.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-test2.yml b/.github/workflows/integration-test2.yml index ad45a293bc6..b1a7d64f056 100644 --- a/.github/workflows/integration-test2.yml +++ b/.github/workflows/integration-test2.yml @@ -1,4 +1,4 @@ -name: "Integration test 2" +name: "Integration test - parallel" on: pull_request: branches: [main] @@ -34,7 +34,7 @@ jobs: matrix: label: ${{ fromJSON(needs.prepare.outputs.matrix) }} outputs: - build-success: ${{ steps.mark-success.outputs.success }} + component: ${{ steps.mark-success.outputs.component }} steps: - name: Maximize build space uses: easimon/maximize-build-space@master @@ -74,7 +74,7 @@ jobs: # Consent and API keys dependencies case "$LABEL" in - dashboard|voucher|consent) # Added consent here + dashboard|voucher|consent) BUILD_ARGS+=" //apps/consent:consent" BUILD_ARGS+=" //core/api-keys:api-keys" ;; @@ -108,17 +108,17 @@ jobs: - name: Mark build as successful id: mark-success - run: echo "success=${{ matrix.label }}" >> "$GITHUB_OUTPUT" + run: echo "component=${{ matrix.label }}" >> "$GITHUB_OUTPUT" test: needs: [prepare, build] - if: contains(needs.*.outputs.*.build-success, matrix.label) name: Test ${{ matrix.label }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: label: ${{ fromJSON(needs.prepare.outputs.matrix) }} + if: ${{ needs.build.outputs.component == matrix.label }} steps: - name: Maximize build space uses: easimon/maximize-build-space@master