diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c1ab9fb22483a465119de11285ca13180551216d..e74e4aedb362cf60ae35d0fd3a4f99f90650774b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -19,6 +19,9 @@ jobs:
   build:
     # The type of runner that the job will run on
     runs-on: self-hosted
+    strategy:
+      matrix:
+        LCG_RELEASE: [LCG_97, KEY4HEP_STACK]
 
     # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
@@ -39,3 +42,5 @@ jobs:
         run: |
           pwd
           bash ./.build.ci.sh
+        env:
+          LCG_RELEASE: ${{strategy.LCG_RELEASE}}