File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,10 @@ jobs:
125125 cmake --install . --config ${{env.BUILD_TYPE}}
126126 cd ..
127127 rm -r itk-src-${{ env.ITK_VERSION }} itk-bin-${{ env.ITK_VERSION }}
128+
129+ - if : runner.os == 'Linux'
130+ name : set ITK_DIR (Linux)
131+ run : |
128132 echo "ITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}/lib/cmake/ITK-${{ env.ITK_SHORTVER }}" >> "$GITHUB_ENV"
129133
130134 - if : ${{ runner.os == 'Windows' && (steps.cache-itk.outputs.cache-hit != 'true' || steps.cache-itk-src.outputs.cache-hit != 'true') }}
@@ -138,6 +142,10 @@ jobs:
138142 cmake --build . --config ${{env.BUILD_TYPE}} -j 4
139143 cd ..
140144 rm itk-src-${{ env.ITK_VERSION }}.tar.gz
145+
146+ - if : runner.os == 'Windows'
147+ name : set ITK_DIR (Windows)
148+ run : |
141149 echo "ITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}" >> "$GITHUB_ENV"
142150
143151 - name : Install npm
You can’t perform that action at this time.
0 commit comments