Преглед изворни кода

ci(relup): fix old vsn error

Signed-off-by: zhanghongtong <rory-z@outlook.com>
zhanghongtong пре 4 година
родитељ
комит
d7aec58370
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      .github/workflows/run_fvt_tests.yaml

+ 2 - 1
.github/workflows/run_fvt_tests.yaml

@@ -223,7 +223,7 @@ jobs:
         - name: Generate matrix
         - name: Generate matrix
           id: generate-matrix
           id: generate-matrix
           run: |
           run: |
-            matrix=$(echo -n "$OLD_VSNS" | jq -R -s -c 'split(" ")')
+            matrix=$(echo -n "$OLD_VSNS" | sed 's/ $//g' | jq -R -s -c 'split(" ")')
             echo "::set-output name=matrix::$matrix"
             echo "::set-output name=matrix::$matrix"
 
 
     relup_test_build:
     relup_test_build:
@@ -275,6 +275,7 @@ jobs:
         runs-on: ubuntu-20.04
         runs-on: ubuntu-20.04
         container: emqx/relup-test-env:erl23.2.7.2-emqx-2-ubuntu20.04
         container: emqx/relup-test-env:erl23.2.7.2-emqx-2-ubuntu20.04
         strategy:
         strategy:
+          fail-fast: false
           matrix:
           matrix:
             old_vsn: ${{ fromJson(needs.relup_test_plan.outputs.matrix) }}
             old_vsn: ${{ fromJson(needs.relup_test_plan.outputs.matrix) }}
         env:
         env: