mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
ci: wrong usage for fromJSON (#46541)
This commit is contained in:
parent
781028c069
commit
ddea828999
@ -76,7 +76,7 @@ jobs:
|
|||||||
# Download report artifact
|
# Download report artifact
|
||||||
- name: download report artifact
|
- name: download report artifact
|
||||||
id: download_report
|
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
|
uses: dawidd6/action-download-artifact@v2
|
||||||
with:
|
with:
|
||||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
body: |
|
body: |
|
||||||
## Visual Regression Build for PR #${{ steps.pr.outputs.id }} Failed ❌
|
## Visual Regression Build for PR #${{ steps.pr.outputs.id }} Failed ❌
|
||||||
Potential causes:
|
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 }}
|
- `download report artifact` status: ${{ steps.download_report.outcome }}
|
||||||
- `report upload` status: ${{ steps.report.outcome }}
|
- `report upload` status: ${{ steps.report.outcome }}
|
||||||
<!-- VISUAL_DIFF_REGRESSION_HOOK -->
|
<!-- VISUAL_DIFF_REGRESSION_HOOK -->
|
||||||
|
Loading…
Reference in New Issue
Block a user