Skip to content

Commit d50a752

Browse files
authored
Install nvm v0.39.7 (Temporary workaround for moodlehq/moodle-plugin-ci#309).
1 parent ea831a2 commit d50a752

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ jobs:
8383
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
8484
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
8585
sudo locale-gen en_AU.UTF-8
86-
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
86+
#echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
87+
# Install nvm v0.39.7 (Temporary workaround for 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
8789
8890
- name: Install moodle-plugin-ci
8991
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
@@ -146,4 +148,4 @@ jobs:
146148

147149
- name: Mark cancelled jobs as failed.
148150
if: ${{ cancelled() }}
149-
run: exit 1
151+
run: exit 1

0 commit comments

Comments
 (0)