diff --git a/.github/workflows/e2e-test-dispatch.yml b/.github/workflows/e2e-test-dispatch.yml index f85511980..6f2de01a5 100644 --- a/.github/workflows/e2e-test-dispatch.yml +++ b/.github/workflows/e2e-test-dispatch.yml @@ -22,9 +22,7 @@ jobs: id: set-matrix run: | echo "Generating Test Matrix" - specs=$(node src/generateTestMatrix.js) - echo "specs=$specs" >> $GITHUB_OUTPUT - echo "::set-output name=matrix::$(echo $specs)" + echo "::set-output name=specs::$(node src/generateTestMatrix.js)" - name: Debug spec-group run: | @@ -32,15 +30,12 @@ jobs: call-workflow-e2e-prod: needs: setup-matrix - strategy: - matrix: - group: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} - uses: dhis2/workflows/.github/workflows/analytics-e2e-tests-triggered-by-core.yml@workflow-dispatch-cypress with: should_record: ${{ contains(github.event.head_commit.message, '[e2e record]') || contains(join(github.event.pull_request.labels.*.name), 'e2e record')}} spec-group: ${{ needs.setup-matrix.outputs.matrix }} instance_url: ${{ github.event.inputs.instance_url }} + dhis2_version: ${{ github.event.inputs.dhis2_version }} secrets: username: ${{ secrets.CYPRESS_DHIS2_USERNAME }} password: ${{ secrets.CYPRESS_DHIS2_PASSWORD }}