From adfe37d12f5bbc71eb902c5910551c644726a7d6 Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Thu, 16 Jan 2025 10:38:55 -0700 Subject: [PATCH] Merge cypress screenshots artifacts Signed-off-by: Phillip Rak --- .github/workflows/extensions-compatibility-tests.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extensions-compatibility-tests.yaml b/.github/workflows/extensions-compatibility-tests.yaml index a2ddd6c92bd..ab69a8c4445 100644 --- a/.github/workflows/extensions-compatibility-tests.yaml +++ b/.github/workflows/extensions-compatibility-tests.yaml @@ -63,8 +63,14 @@ jobs: uses: actions/upload-artifact@v4 if: ${{ failure() }} with: - name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }} + name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }}-${{ matrix.rancherEnv }} path: cypress/screenshots + + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-${{ matrix.role.tag }}+${{ matrix.features[0] }} + pattern: ${{github.run_number}}-${{github.run_attempt}}-extensions-compatibility-tests-screenshots-* # Slack message with outcome - success - name: Slack message in workflow success @@ -88,4 +94,4 @@ jobs: curl -X POST \ -H "Content-type: application/json; charset=utf-8" \ --data '{"name": "${{ matrix.rancherEnv[0] }} - image:${{ matrix.rancherEnv[1] }} - ${{ matrix.features[1] }}", "status": "Workflow failed! 🆘", "workflow_run": ${{ github.run_id }} }' \ - $SLACK_URL \ No newline at end of file + $SLACK_URL