diff --git a/.github/actions/set-env/action.yml b/.github/actions/set-env/action.yml index 27b56c5..91e6a0e 100644 --- a/.github/actions/set-env/action.yml +++ b/.github/actions/set-env/action.yml @@ -15,5 +15,5 @@ runs: source /etc/os-release os_ver="$(echo ${ID}${VERSION_ID} | sed 's/\.//')" echo "os_ver=${os_ver}" >> $GITHUB_OUTPUT - echo "modules_dir=/modules" >> $GITHUB_OUTPUT + echo "modules_dir=$HOME/modules" >> $GITHUB_OUTPUT shell: bash diff --git a/.github/actions/setup-xsd/action.yml b/.github/actions/setup-xsd/action.yml index e84cbff..8483d02 100644 --- a/.github/actions/setup-xsd/action.yml +++ b/.github/actions/setup-xsd/action.yml @@ -23,15 +23,17 @@ runs: - name: install xsd module if: steps.cache-xsd.outputs.cache-hit != 'true' - working-directory: ${{ github.workspace }} run: | - ./scripts/install_xsd.sh \ + ./install_xsd.sh \ --version=${{ inputs.xsd_ver }} \ --modules-dir=${{ steps.set-env.outputs.modules_dir }} + ls ${{ steps.set-env.outputs.modules_dir }} + working-directory: ${{ github.workspace }}/scripts shell: bash - name: test xsd module run: | + ls ${{ steps.set-env.outputs.modules_dir }} source /etc/profile.d/modules.sh module use ${{ steps.set-env.outputs.modules_dir }} module load xsd/${{ inputs.xsd_ver }}