Просмотр исходного кода

fix(ci): set explicit version for system-wide Erlang

Ilya Averyanov 3 лет назад
Родитель
Сommit
a6911517aa
2 измененных файлов с 24 добавлено и 3 удалено
  1. 6 3
      .github/workflows/run_fvt_tests.yaml
  2. 18 0
      .github/workflows/run_jmeter_tests.yaml

+ 6 - 3
.github/workflows/run_fvt_tests.yaml

@@ -55,6 +55,9 @@ jobs:
         arch:
           - amd64
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/download-artifact@v2
       with:
         name: source
@@ -135,15 +138,15 @@ jobs:
       # - emqx-enterprise # TODO test enterprise
 
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/download-artifact@v2
       with:
         name: source
         path: .
     - name: unzip source code
       run: unzip -q source.zip
-    - uses: erlef/setup-beam@v1
-        with:
-          otp-version: "24.2"
     - name: Get deps git refs for cache
       id: deps-refs
       run: |

+ 18 - 0
.github/workflows/run_jmeter_tests.yaml

@@ -14,6 +14,9 @@ jobs:
     outputs:
       version: ${{ steps.build_docker.outputs.version}}
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - name: download jmeter
       timeout-minutes: 3
       env:
@@ -54,6 +57,9 @@ jobs:
 
     needs: build_emqx_for_jmeter_tests
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/checkout@v2
     - uses: actions/download-artifact@v2
       with:
@@ -145,6 +151,9 @@ jobs:
 
     needs: build_emqx_for_jmeter_tests
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/checkout@v2
     - uses: actions/download-artifact@v2
       with:
@@ -246,6 +255,9 @@ jobs:
 
     needs: build_emqx_for_jmeter_tests
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/checkout@v2
     - uses: actions/download-artifact@v2
       with:
@@ -343,6 +355,9 @@ jobs:
 
     needs: build_emqx_for_jmeter_tests
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/checkout@v2
     - uses: actions/download-artifact@v2
       with:
@@ -437,6 +452,9 @@ jobs:
 
     needs: build_emqx_for_jmeter_tests
     steps:
+    - uses: erlef/setup-beam@v1
+      with:
+        otp-version: "24.2"
     - uses: actions/checkout@v2
     - uses: actions/download-artifact@v2
       with: