Skip to content

Commit

Permalink
#68 fix xsd cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Apr 29, 2024
1 parent b47c63e commit 31ef972
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/actions/setup-xsd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,12 @@ runs:
- id: set-env
uses: ./.github/actions/set-env

- name: test-env
run: |
echo ${{ steps.set-env.outputs.os_ver }}
echo ${{ steps.set-env.outputs.modules_dir }}
echo ${{ github.workspace }}
ls /etc/profile.d/
whoami
echo $HOME
ls /home
ls /
shell: bash

- id: cache-xsd
uses: actions/cache@v4
with:
path: |
modules/opt/xsd/${{ inputs.xsd_ver }}
modules/modulefiles/xsd/${{ inputs.xsd_ver }}
${{ steps.set-env.outputs.modules_dir }}/opt/xsd/${{ inputs.xsd_ver }}
${{ steps.set-env.outputs.modules_dir }}/modulefiles/xsd/${{ inputs.xsd_ver }}
key: |
${{ steps.set-env.outputs.os_ver }}-xsd-${{ inputs.xsd_ver }}-${{ hashFiles('scripts/install_xsd.sh') }}
restore-keys: |
Expand Down

0 comments on commit 31ef972

Please sign in to comment.