File tree 4 files changed +14
-7
lines changed
4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ jobs:
120
120
echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV
121
121
# PHPUnit depends on en_AU.UTF-8 locale
122
122
sudo locale-gen en_AU.UTF-8
123
- # Define NVM_DIR pointing to nvm installation .
124
- echo "NVM_DIR=$HOME/. nvm" >> $GITHUB_ENV
123
+ # Install nvm.
124
+ curl -o- https://raw.githubusercontent.com/ nvm-sh/nvm/v0.39.7/install.sh | bash
125
125
126
126
- name : Install moodle-plugin-ci
127
127
run : moodle-plugin-ci install -vvv
@@ -238,8 +238,8 @@ jobs:
238
238
echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV
239
239
# PHPUnit depends on en_AU.UTF-8 locale
240
240
sudo locale-gen en_AU.UTF-8
241
- # Define NVM_DIR pointing to nvm installation .
242
- echo "NVM_DIR=$HOME/. nvm" >> $GITHUB_ENV
241
+ # Install nvm.
242
+ curl -o- https://raw.githubusercontent.com/ nvm-sh/nvm/v0.39.7/install.sh | bash
243
243
244
244
- name : Download PHAR artifact
245
245
uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
9
9
The format of this change log follows the advice given at [ Keep a CHANGELOG] ( https://keepachangelog.com ) .
10
10
11
11
## [ Unreleased]
12
+ ### Changed
13
+ - In order to prevent issue when GH running-image supplied nvm may not work (it is also not included in ubuntu-24.04), we
14
+ install last working version explicitly in initialise step.
15
+ - ACTION REQUIRED: Update your workflows and add explicit nvm installaton of
16
+ version v0.39.7.
17
+
12
18
## [ 4.5.3] - 2024-07-05
13
19
### Added
14
20
- Support for version 4.4 of the app, that uses new defaults and Chrome (Selenium 4) version.
Original file line number Diff line number Diff line change @@ -97,14 +97,14 @@ jobs:
97
97
coverage : none
98
98
99
99
# Install this project into a directory called "ci", updating PATH and
100
- # locale, define nvm location .
100
+ # locale, install nvm.
101
101
- name : Initialise moodle-plugin-ci
102
102
run : |
103
103
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
104
104
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
105
105
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
106
106
sudo locale-gen en_AU.UTF-8
107
- echo "NVM_DIR=$HOME/. nvm" >> $GITHUB_ENV
107
+ curl -o- https://raw.githubusercontent.com/ nvm-sh/nvm/v0.39.7/install.sh | bash
108
108
109
109
# Run the default install.
110
110
# Optionally, it is possible to specify a different Moodle repo to use
Original file line number Diff line number Diff line change 56
56
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
57
57
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
58
58
sudo locale-gen en_AU.UTF-8
59
- echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
59
+ # Install nvm.
60
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
60
61
61
62
- name : Install moodle-plugin-ci
62
63
run : moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
You can’t perform that action at this time.
0 commit comments