From 2e1c745171736e1e27d3955d0fbeaae65e47226a Mon Sep 17 00:00:00 2001 From: David Schneider Date: Tue, 3 Sep 2024 16:54:23 +0200 Subject: [PATCH] Use user-specified input dir --- action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 7f6afaf..d4cb2f9 100644 --- a/action.yml +++ b/action.yml @@ -122,17 +122,17 @@ runs: if: steps.check.outputs.release == 'false' && steps.cache.outputs.cache-hit != 'true' shell: bash run: | - echo "PATH=$HOME/precice/bin:$PATH" >> $GITHUB_ENV - echo "LD_LIBRARY_PATH=$HOME/precice/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV - echo "PKG_CONFIG_PATH=$HOME/precice/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV - echo "CPATH=$HOME/precice/include:$CPATH" >> $GITHUB_ENV - echo "CMAKE_PREFIX_PATH=$HOME/precice:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV + echo "PATH=${{ inputs.install-prefix }}/bin:$PATH" >> $GITHUB_ENV + echo "LD_LIBRARY_PATH=${{ inputs.install-prefix }}/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV + echo "PKG_CONFIG_PATH=${{ inputs.install-prefix }}/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV + echo "CPATH=${{ inputs.install-prefix }}/include:$CPATH" >> $GITHUB_ENV + echo "CMAKE_PREFIX_PATH=${{ inputs.install-prefix }}:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV - name: More debugging if: steps.check.outputs.release == 'false' && steps.cache.outputs.cache-hit != 'true' shell: bash run: | - ls -l $HOME/precice/ + ls -l ${{ inputs.install-prefix }} - name: cache preCICE if: steps.check.outputs.release == 'false' && steps.cache.outputs.cache-hit != 'true'