File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 # Process registry modules
8484 - name : Process Registry Module
8585 id : registry_module
86- if : contains(matrix.name, 'registry')
86+ if : contains(matrix.name, 'registry') && matrix.name != 'digitaltwinregistry'
8787 run : |
8888 # Get the module path without /src/main/docker
8989 MODULE_PATH=$(echo ${{ matrix.path }} | sed 's|/src/main/docker||')
@@ -128,7 +128,7 @@ jobs:
128128 # Process non-registry modules
129129 - name : Process Non-Registry Module
130130 id : non_registry_module
131- if : " !contains(matrix.name, 'registry')"
131+ if : ${{ !contains(matrix.name, 'registry') || matrix.name == 'digitaltwinregistry' }}
132132 run : |
133133 echo "Processing non-registry module"
134134 echo "FINAL_NAME=" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 9494 # For registry modules, we activate the dockerbuild profile and specify the module with --pl
9595 - name : Build BaSyx
9696 run : |
97- if [[ "${{ matrix.name }}" == *"registry"* ]]; then
97+ if [[ "${{ matrix.name }}" == *"registry"* && "${{ matrix.name }}" != "digitaltwinregistry" ]]; then
9898 # Derive the module's artifactId from the path
9999 module_root=$(dirname "$(dirname "$(dirname "${{ matrix.path }}")")")
100100 artifact_id=$(basename "$module_root")
@@ -105,7 +105,7 @@ jobs:
105105 fi
106106
107107 - name : Prepare Registry JAR for Docker
108- if : contains(matrix.name, 'registry')
108+ if : contains(matrix.name, 'registry') && matrix.name != 'digitaltwinregistry'
109109 run : |
110110 # Go three levels up from src/main/docker to get the module root
111111 module_root=$(dirname "$(dirname "$(dirname "${{ matrix.path }}")")")
@@ -126,8 +126,8 @@ jobs:
126126 echo "FINAL_NAME=${FINAL_NAME}" >> $GITHUB_ENV
127127
128128 - name : No-Op for Non-Registry Modules
129- if : " !contains(matrix.name, 'registry')"
130- run : echo echo "FINAL_NAME=" >> $GITHUB_ENV
129+ if : ${{ !contains(matrix.name, 'registry') || matrix.name == 'digitaltwinregistry' }}
130+ run : echo "FINAL_NAME=" >> $GITHUB_ENV
131131
132132 - name : Set short SHA
133133 run : echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments