File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 62
62
# NOTE: This does not use the primary Gemfile at all.
63
63
- name : Install Root Appraisal
64
64
run : bundle
65
- - name : Appraisal for ${{ matrix.appraisal }}
65
+
66
+ - name : " [Attempt 1] Install Root Appraisal"
67
+ id : bundleAttempt1
68
+ run : bundle
69
+ # Continue to the next step on failure
70
+ continue-on-error : true
71
+
72
+ # Effectively an automatic retry of the previous step.
73
+ - name : " [Attempt 2] Install Root Appraisal"
74
+ id : bundleAttempt2
75
+ # If bundleAttempt1 failed, try again here; Otherwise skip.
76
+ if : steps.bundleAttempt1.outcome == 'failure'
77
+ run : bundle
78
+
79
+ - name : " [Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
80
+ id : bundleAppraisalAttempt1
81
+ run : bundle exec appraisal ${{ matrix.appraisal }} bundle
82
+ # Continue to the next step on failure
83
+ continue-on-error : true
84
+
85
+ # Effectively an automatic retry of the previous step.
86
+ - name : " [Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
87
+ id : bundleAppraisalAttempt2
88
+ # If bundleAttempt1 failed, try again here; Otherwise skip.
89
+ if : steps.bundleAppraisalAttempt1.outcome == 'failure'
66
90
run : bundle exec appraisal ${{ matrix.appraisal }} bundle
91
+
67
92
- name : Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
68
93
run : bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
You can’t perform that action at this time.
0 commit comments