Skip to content

Commit 4f50bfa

Browse files
committed
fix replacing of s/__EESSI_VERSION_DEFAULT__/ placeholder in CI workflow to test init/lmod scripts
1 parent 9c8e65f commit 4f50bfa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests_init_module.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ jobs:
2828
cvmfs_http_proxy: DIRECT
2929
cvmfs_repositories: software.eessi.io
3030

31-
- name: Fix EESSI version in init scripts
31+
- name: Fix EESSI version in lmod init scripts
3232
run: |
33-
sed -i "s/__EESSI_VERSION_DEFAULT__/${{matrix.EESSI_VERSION}}/g" init/eessi_defaults
33+
for shell in $(ls init/lmod); do
34+
sed -i "s/__EESSI_VERSION_DEFAULT__/${{matrix.EESSI_VERSION}}/g" init/lmod/${shell}
35+
done
3436
3537
- name: Clone assert.sh script
3638
run: git clone https://github.com/lehmannro/assert.sh.git

0 commit comments

Comments
 (0)