Explorar o código

ci: cut down slim build matrix

Andrew Mayorov %!s(int64=3) %!d(string=hai) anos
pai
achega
f17ebb8796
Modificáronse 1 ficheiros con 5 adicións e 9 borrados
  1. 5 9
      .github/workflows/build_slim_packages.yaml

+ 5 - 9
.github/workflows/build_slim_packages.yaml

@@ -29,17 +29,15 @@ jobs:
       fail-fast: false
       matrix:
         profile:
-        - ["emqx", "el7"]
-        - ["emqx-enterprise", "ubuntu20.04"]
+        - ["emqx", "24.3.4.2-1", "el7"]
+        - ["emqx", "25.1.2-2", "ubuntu20.04"]
+        - ["emqx-enterprise", "24.3.4.2-1", "ubuntu20.04"]
         builder:
         - 5.0-26
-        otp:
-        - 24.3.4.2-1
-        - 25.1.2-2
         elixir:
         - 1.13.4
 
-    container: "ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.profile[1] }}"
+    container: "ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.profile[1] }}-${{ matrix.profile[2] }}"
 
     steps:
     - uses: AutoModality/action-clean@v1
@@ -75,7 +73,7 @@ jobs:
         ./scripts/pkg-tests.sh ${EMQX_NAME}-elixir-pkg
     - uses: actions/upload-artifact@v3
       with:
-        name: "${{ matrix.profile[0] }}-${{ matrix.otp }}-${{ matrix.profile[1] }}"
+        name: "${{ matrix.profile[0] }}-${{ matrix.profile[1] }}-${{ matrix.profile[2] }}"
         path: _packages/${{ matrix.profile[0] }}/*
     - uses: actions/upload-artifact@v3
       with:
@@ -92,7 +90,6 @@ jobs:
         profile:
           - emqx
         otp:
-          - 24.3.4
           - 25.1.2
     steps:
     - uses: actions/checkout@v3
@@ -134,7 +131,6 @@ jobs:
         - emqx-enterprise
         otp:
         - 24.3.4.2-1
-        - 25.1.2-2
         os:
         - macos-11
         - macos-12-arm64