diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3a853d..07693a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: run: | set -euo pipefail latest_version="$(jq -r '.version' package.json)" - count_expected=16 + count_expected=17 count_actual="$(grep -c "setup-pixi@v$latest_version" README.md || true)" if [ "$count_actual" -ne "$count_expected" ]; then echo "::error file=README.md::Expected $count_expected mentions of \`setup-pixi@v$latest_version\` in README.md, but found $count_actual." diff --git a/README.md b/README.md index 8d4c2fd..6f0c583 100644 --- a/README.md +++ b/README.md @@ -383,6 +383,16 @@ This can be overwritten by setting the `manifest-path` input argument. manifest-path: pyproject.toml ``` +### Only install pixi + +If you only want to install pixi and not install the current project, you can use the `run-install` option. + +```yml +- uses: prefix-dev/setup-pixi@v0.8.3 + with: + run-install: false +``` + ## More examples If you want to see more examples, you can take a look at the [GitHub Workflows of this repository](.github/workflows/test.yml).