From 101be464ad61572c60da4d540693e337a75f3f27 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Sun, 18 Aug 2024 13:44:47 +0100 Subject: [PATCH] Fix GHA failing due to https://github.com/moodlehq/moodle-plugin-ci/issues/309. This is a temporary fix and if this is fixed upstream we should consider reverting this. --- .github/workflows/moodle-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 8c86d918..47f1b3aa 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -60,7 +60,8 @@ jobs: echo $(cd ci/bin; pwd) >> $GITHUB_PATH echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH sudo locale-gen en_AU.UTF-8 - echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV + # Install nvm v0.39.7 (temp workaround for issue https://github.com/moodlehq/moodle-plugin-ci/issues/309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - name: Install moodle-plugin-ci run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1