You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a0af7a2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+51-21Lines changed: 51 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ GitHub Action to set up the [pixi](https://github.com/prefix-dev/pixi) package m
@@ -35,7 +35,7 @@ GitHub Action to set up the [pixi](https://github.com/prefix-dev/pixi) package m
35
35
36
36
> [!WARNING]
37
37
> Since pixi is not yet stable, the API of this action may change between minor versions.
38
-
> Please pin the versions of this action to a specific version (i.e., `prefix-dev/[email protected].3`) to avoid breaking changes.
38
+
> Please pin the versions of this action to a specific version (i.e., `prefix-dev/[email protected].4`) to avoid breaking changes.
39
39
> You can automatically update the version of this action by using [Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot).
40
40
>
41
41
> Put the following in your `.github/dependabot.yml` file to enable Dependabot for your GitHub Actions:
@@ -77,7 +77,7 @@ In order to not exceed the [10 GB cache size limit](https://docs.github.com/en/a
77
77
This can be done by setting the `cache-write` argument.
@@ -188,7 +188,7 @@ Specify the token using the `auth-token` input argument.
188
188
This form of authentication (bearer token in the request headers) is mainly used at [prefix.dev](https://prefix.dev).
@@ -200,7 +200,7 @@ Specify the username and password using the `auth-username` and `auth-password`
200
200
This form of authentication (HTTP Basic Auth) is used in some enterprise environments with [artifactory](https://jfrog.com/artifactory) for example.
@@ -213,7 +213,7 @@ Specify the conda-token using the `auth-conda-token` input argument.
213
213
This form of authentication (token is encoded in URL: `https://my-quetz-instance.com/t/<token>/get/custom-channel`) is used at [anaconda.org](https://anaconda.org) or with [quetz instances](https://github.com/mamba-org/quetz).
@@ -241,7 +241,7 @@ See the [pixi documentation](https://pixi.sh/latest/advanced/s3) for more inform
241
241
You can specify whether to use keyring to look up credentials for PyPI.
@@ -334,7 +334,7 @@ You can specify whether `setup-pixi` should run `pixi install --frozen` or `pixi
334
334
See the [official documentation](https://pixi.sh/latest/reference/cli/pixi/install/#update-options) for more information about the `--frozen` and `--locked` flags.
@@ -397,7 +397,7 @@ If nothing is specified, `post-cleanup` will default to `true`.
397
397
On self-hosted runners, you also might want to alter the default pixi install location to a temporary location. You can use `pixi-bin-path: ${{ runner.temp }}/bin/pixi` to do this.
If you're working with a monorepo where your pixi project is in a subdirectory, you can use the `working-directory` input to specify where pixi should look for manifest files (`pixi.toml` or `pyproject.toml`).
This will make pixi look for `pixi.toml` or `pyproject.toml` in the `./packages/my-project` directory instead of the repository root. All pixi commands will be executed from this working directory.
432
+
433
+
> [!NOTE]
434
+
> The `working-directory` input only affects commands run by `setup-pixi` itself.
435
+
> For subsequent `run:` steps, you need to set the working directory separately:
436
+
>
437
+
> ```yml
438
+
> - run: pixi run test
439
+
> working-directory: ./packages/my-project
440
+
> ```
441
+
442
+
You can combine `working-directory` with `manifest-path` if needed:
@@ -434,7 +464,7 @@ You can also download pixi from a custom URL by setting the `pixi-url` input arg
434
464
Optionally, you can combine this with the `pixi-url-headers` input argument to supply additional headers for the download request, such as a bearer token.
0 commit comments