Skip to content

Commit 394e56a

Browse files
authored
Merge pull request #31 from ngandrass/fix/moodle-plugin-ci
Fix: moodle-plugin-ci nvm issue on current GitHub action runners
2 parents 16f4b23 + 96c1e36 commit 394e56a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/moodle-plugin-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ jobs:
8282
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
8383
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
8484
sudo locale-gen en_AU.UTF-8
85-
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
85+
86+
# Install nvm v0.39.7 as a temporary workaround for issue:
87+
# https://github.com/moodlehq/moodle-plugin-ci/issues/309
88+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
8689
8790
- name: Install moodle-plugin-ci
8891
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1

0 commit comments

Comments
 (0)