File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 - name : Setup Acceptance Test Matrix
6767 id : get-matrix
6868 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
7175
7276 - name : " Honeycomb: Record Setup Test Matrix time"
7377 if : ${{ always() }}
Original file line number Diff line number Diff line change 6666 - name : Setup Acceptance Test Matrix
6767 id : get-matrix
6868 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
7175
7276 - name : " Honeycomb: Record Setup Test Matrix time"
7377 if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments