From c6c1e083f73f3fd68618e74a24e970df735727c1 Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Fri, 12 Apr 2024 17:18:32 +0200 Subject: [PATCH 1/2] setup_pixi: docs for local pixi installation --- docs/advanced/github_actions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 72868c833..109450e0b 100644 --- a/docs/advanced/github_actions.md +++ b/docs/advanced/github_actions.md @@ -306,6 +306,10 @@ On self-hosted runners, you also might want to alter the default pixi install lo 1. `${{ runner.temp }}\Scripts\pixi.exe` on Windows +You can also use a preinstalled local version of pixi on the runner by not setting `pixi-version` or `pixi-url`. +This action will then prefer an existing pixi binary at `pixi-bin-path` (or, if unset, the default location) +over downloading a new version. + ### Using the `pyproject.toml` as a manifest file for pixi. You can use the pyproject.toml, but it is not the default manifest file for pixi, so it's not picked up automatically, yet. ```yaml From a1ed44ad46003199a1741b6d925902cd8feb680c Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Fri, 12 Apr 2024 18:48:25 +0200 Subject: [PATCH 2/2] docs: setup-pixi new requirements --- docs/advanced/github_actions.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 109450e0b..d6b06c34e 100644 --- a/docs/advanced/github_actions.md +++ b/docs/advanced/github_actions.md @@ -306,9 +306,8 @@ On self-hosted runners, you also might want to alter the default pixi install lo 1. `${{ runner.temp }}\Scripts\pixi.exe` on Windows -You can also use a preinstalled local version of pixi on the runner by not setting `pixi-version` or `pixi-url`. -This action will then prefer an existing pixi binary at `pixi-bin-path` (or, if unset, the default location) -over downloading a new version. +You can also use a preinstalled local version of pixi on the runner by not setting any of the `pixi-version`, +`pixi-url` or `pixi-bin-path` inputs. This action will then try to find a local version of pixi in the runner's PATH. ### Using the `pyproject.toml` as a manifest file for pixi. You can use the pyproject.toml, but it is not the default manifest file for pixi, so it's not picked up automatically, yet.