@@ -345,7 +345,7 @@ jobs:
345345 path : ./scripts/distribution/macOS-package/build/packages/concordium-node-${{ needs.validate-preconditions.outputs.version }}-unsigned.pkg
346346 retention-days : 3
347347
348- generate-matrix :
348+ generate-node- matrix :
349349 runs-on : ubuntu-latest
350350 needs : [validate-preconditions]
351351 outputs :
@@ -400,12 +400,12 @@ jobs:
400400 node-linux :
401401 runs-on : ubuntu-latest
402402 if : contains(fromJSON('["rc", "alpha", "node-linux"]'), needs.validate-preconditions.outputs.release_type)
403- needs : [ build-static-binaries, validate-preconditions, generate-matrix ]
403+ needs : [ build-static-binaries, validate-preconditions, generate-node- matrix ]
404404 env :
405405 DATA_DIR : ' ./scripts/distribution/ubuntu-packages/template/data'
406406 strategy :
407407 matrix :
408- node : ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
408+ node : ${{ fromJSON(needs.generate-node- matrix.outputs.matrix) }}
409409 steps :
410410 - name : Download artifact
411411 uses : actions/download-artifact@v4
@@ -476,18 +476,31 @@ jobs:
476476 - name : Upload artifact
477477 uses : actions/upload-artifact@v4
478478 with :
479- name : ${{ github.job }}
479+ name : node- ${{ matrix.node.env }}-linux
480480 path : concordium-${{ matrix.node.env }}-node_${{ needs.validate-preconditions.outputs.base_version }}_amd64.deb
481481 retention-days : 3
482482
483+ generate-s3-release-matrix :
484+ runs-on : ubuntu-latest
485+ needs : [ node-linux, node-macos, node-windows, p2p-bootstrapper, database-exporter, validate-preconditions ]
486+ outputs :
487+ matrix : ${{ steps.set-matrix.outputs.matrix }}
488+ steps :
489+
490+ - name : Initialize Matrix with alpha environments
491+ run : |
492+ MATRIX_JSON=$(echo '[
493+ ]' | jq -c)
494+ echo "MATRIX_JSON=${MATRIX_JSON}" >> $GITHUB_ENV
495+
483496 docker :
484497 runs-on : ubuntu-latest
485498 environment : release
486499 if : contains(fromJSON('["rc", "alpha", "docker"]'), needs.validate-preconditions.outputs.release_type)
487- needs : [ build-static-binaries, validate-preconditions, generate-matrix ]
500+ needs : [ build-static-binaries, validate-preconditions, generate-node- matrix ]
488501 strategy :
489502 matrix :
490- node : ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
503+ node : ${{ fromJSON(needs.generate-node- matrix.outputs.matrix) }}
491504 exclude :
492505 - node :
493506 env : flynet
0 commit comments