Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvm workaround #124

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/plugin/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ runs:
composer self-update ${{ steps.install-composer1.outputs.COMPOSER_VERSION }}
shell: bash

- name: Install specific NVM version
run: |
# 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
shell: bash
- name: Initialise moodle-plugin-ci
run: |
# Initialise moodle-plugin-ci (install via composer)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-310-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-310-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-311-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-311-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-to-38-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-to-38-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-to-39-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-33-to-39-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-34-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-34-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-34-to-38-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-34-to-39-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-to-310-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-to-311-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-to-39-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-35-to-39-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-36-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-36-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-37-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-37-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-38-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-38-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-39-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-39-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-40-plus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ././../plugin/setup/action.yml
with:
extra_php_extensions: ${{ inputs.extra_php_extensions }}
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/group-40-plus-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/moodle-311-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/moodle-39-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main
uses: ./../plugin/setup/action.yml
with:
extra_plugin_runners: ${{ inputs.extra_plugin_runners }}
disable_behat: ${{ inputs.disable_behat }}
Expand Down