diff --git a/.github/workflows/visual-regression-diff-finish.yml b/.github/workflows/visual-regression-diff-finish.yml index f2723c38842f..23689acc150a 100644 --- a/.github/workflows/visual-regression-diff-finish.yml +++ b/.github/workflows/visual-regression-diff-finish.yml @@ -76,7 +76,7 @@ jobs: # Download report artifact - name: download report artifact id: download_report - if: ${{ fromJSON(needs.upstream-workflow-summary.outputs.build-status) == 'success' || fromJSON(needs.upstream-workflow-summary.outputs.build-status) == 'failure' }} + if: ${{ needs.upstream-workflow-summary.outputs.build-status == 'success' || needs.upstream-workflow-summary.outputs.build-status == 'failure' }} uses: dawidd6/action-download-artifact@v2 with: workflow: ${{ github.event.workflow_run.workflow_id }} @@ -127,7 +127,7 @@ jobs: body: | ## Visual Regression Build for PR #${{ steps.pr.outputs.id }} Failed ❌ Potential causes: - - `upstream workflow` status: ${{ needs.upstream-workflow-summary.outputs.job-status }} + - `upstream workflow` status: ${{ needs.upstream-workflow-summary.outputs.build-status }} - `download report artifact` status: ${{ steps.download_report.outcome }} - `report upload` status: ${{ steps.report.outcome }}