Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove `just` executions without arguments from CI (#3229)

Bernardoa46a7e406e2e
diff --git a/.github/actions/load-img/action.yml b/.github/actions/load-img/action.yml
index d11cca766..7c23474ff 100644
--- a/.github/actions/load-img/action.yml
+++ b/.github/actions/load-img/action.yml
@@ -18,7 +18,7 @@ runs:
# We just need to be able to use `pnpm`. `npm` will fail on
# any `workspace:*` dependency which we have in the root `package.json`
setup_python: false
- install_deps: false
+ install_recipe: ""
- name: Install `@actions/artifact`
shell: bash
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index 22b4e03ba..44499dcc5 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -10,10 +10,6 @@ inputs:
default: "true"
description: Whether to set up Node.js and dependencies
- install_deps:
- default: "true"
- description: Whether to install dependencies using Just
-
install_recipe:
default: "install"
description: The recipe to use to install dependencies
@@ -65,7 +61,7 @@ runs:
# Install dependencies
- name: Install dependencies
- if: inputs.install_deps == 'true'
+ if: inputs.install_recipe != ''
shell: bash
run: |
just ${{ inputs.install_recipe }}
diff --git a/documentation/meta/ci_cd/actions.md b/documentation/meta/ci_cd/actions.md
index c5ced03f0..dc1f93e03 100644
--- a/documentation/meta/ci_cd/actions.md
+++ b/documentation/meta/ci_cd/actions.md
@@ -45,7 +45,6 @@ host dependencies are needed).
{
setup_python: "true" | "false" // default: "true"
setup_nodejs: "true" | "false" // default: "true"
- install_deps: "true" | "false" // default: "true"
install_recipe: string // default: "install"
}
```