ci: Fix for ci-test-limited rerun (#27094)
## Description - Fix for ci-test-limited rerun #### Type of change - Workflow changes ## Testing - Workflow run
This commit is contained in:
parent
077935bf72
commit
1a81caf568
6
.github/workflows/ci-test-limited.yml
vendored
6
.github/workflows/ci-test-limited.yml
vendored
|
|
@ -115,12 +115,14 @@ jobs:
|
||||||
echo "::set-output name=run_result::$run_result_env"
|
echo "::set-output name=run_result::$run_result_env"
|
||||||
|
|
||||||
# In case this is second attempt try restoring failed tests
|
# In case this is second attempt try restoring failed tests
|
||||||
|
- if : steps.run_result.outputs.run_result == 'failedtest'
|
||||||
|
run: echo "failed_spec_artifact=failed-spec-ci-$((${{github.run_attempt}}-1))" >> $GITHUB_ENV
|
||||||
- name: Restore the previous failed combine result
|
- name: Restore the previous failed combine result
|
||||||
if: steps.run_result.outputs.run_result == 'failedtest'
|
if: steps.run_result.outputs.run_result == 'failedtest'
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: combined_failed_spec_ci
|
name: ${{ env.failed_spec_artifact }}
|
||||||
path: ~/combined_failed_spec_ci
|
path: ~/failed_spec_ci
|
||||||
|
|
||||||
# failed_spec_env will contain list of all failed specs
|
# failed_spec_env will contain list of all failed specs
|
||||||
# We are using environment variable instead of regular to support multiline
|
# We are using environment variable instead of regular to support multiline
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user