File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 66
66
- name : Setup Acceptance Test Matrix
67
67
id : get-matrix
68
68
run : |
69
- out=$(jq -c '. + ($matrix | .[])' --slurpfile matrix spec/fixtures/matrix/latest.json <<<'${{ steps.latest_release.outputs.latest }}')
70
- echo "::set-output name=matrix::$out"
69
+ if [[ -e spec/fixtures/matrix/latest.json ]]; then
70
+ out=$(jq -c '. + ($matrix | .[])' --slurpfile matrix spec/fixtures/matrix/latest.json <<<'${{ steps.latest_release.outputs.latest }}')
71
+ echo "::set-output name=matrix::$out"
72
+ else
73
+ echo "::set-output name=matris::{}"
74
+ fi
71
75
72
76
- name : " Honeycomb: Record Setup Test Matrix time"
73
77
if : ${{ always() }}
Original file line number Diff line number Diff line change 66
66
- name : Setup Acceptance Test Matrix
67
67
id : get-matrix
68
68
run : |
69
- out=$(jq -c '. + ($matrix | .[])' --slurpfile matrix spec/fixtures/matrix/lts.json <<<'${{ steps.latest_release.outputs.latest }}')
70
- echo "::set-output name=matrix::$out"
69
+ if [[ -e spec/fixtures/matrix/lts.json ]]; then
70
+ out=$(jq -c '. + ($matrix | .[])' --slurpfile matrix spec/fixtures/matrix/lts.json <<<'${{ steps.latest_release.outputs.latest }}')
71
+ echo "::set-output name=matrix::$out"
72
+ else
73
+ echo "::set-output name=matris::{}"
74
+ fi
71
75
72
76
- name : " Honeycomb: Record Setup Test Matrix time"
73
77
if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments