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
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
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
23
23
## Usage
24
24
25
25
```yml
26
-
- uses: prefix-dev/setup-pixi@v0.8.6
26
+
- uses: prefix-dev/setup-pixi@v0.8.7
27
27
with:
28
28
pixi-version: v0.44.0
29
29
@@ -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/setup-pixi@v0.8.6`) to avoid breaking changes.
38
+
> Please pin the versions of this action to a specific version (i.e., `prefix-dev/setup-pixi@v0.8.7`) 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:
@@ -74,7 +74,7 @@ In order to not exceed the [10 GB cache size limit](https://docs.github.com/en/a
74
74
This can be done by setting the `cache-write` argument.
The following example will install both the `py311` and the `py312` environment on the runner.
130
130
131
131
```yml
132
-
- uses: prefix-dev/setup-pixi@v0.8.6
132
+
- uses: prefix-dev/setup-pixi@v0.8.7
133
133
with:
134
134
# separated by spaces
135
135
environments: >-
@@ -165,7 +165,7 @@ Specify the token using the `auth-token` input argument.
165
165
This form of authentication (bearer token in the request headers) is mainly used at [prefix.dev](https://prefix.dev).
166
166
167
167
```yml
168
-
- uses: prefix-dev/setup-pixi@v0.8.6
168
+
- uses: prefix-dev/setup-pixi@v0.8.7
169
169
with:
170
170
auth-host: prefix.dev
171
171
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
@@ -177,7 +177,7 @@ Specify the username and password using the `auth-username` and `auth-password`
177
177
This form of authentication (HTTP Basic Auth) is used in some enterprise environments with [artifactory](https://jfrog.com/artifactory) for example.
178
178
179
179
```yml
180
-
- uses: prefix-dev/setup-pixi@v0.8.6
180
+
- uses: prefix-dev/setup-pixi@v0.8.7
181
181
with:
182
182
auth-host: custom-artifactory.com
183
183
auth-username: ${{ secrets.PIXI_USERNAME }}
@@ -190,7 +190,7 @@ Specify the conda-token using the `auth-conda-token` input argument.
190
190
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).
191
191
192
192
```yml
193
-
- uses: prefix-dev/setup-pixi@v0.8.6
193
+
- uses: prefix-dev/setup-pixi@v0.8.7
194
194
with:
195
195
auth-host: anaconda.org # or my-quetz-instance.com
196
196
auth-conda-token: ${{ secrets.CONDA_TOKEN }}
@@ -202,7 +202,7 @@ Specify the S3 key pair using the `auth-access-key-id` and `auth-secret-access-k
202
202
You can also specify the session token using the `auth-session-token` input argument.
@@ -274,15 +274,15 @@ To this end, `setup-pixi` adds all environment variables set when executing `pix
274
274
As a result, all installed binaries can be accessed without having to call `pixi run`.
275
275
276
276
```yml
277
-
- uses: prefix-dev/setup-pixi@v0.8.6
277
+
- uses: prefix-dev/setup-pixi@v0.8.7
278
278
with:
279
279
activate-environment: true
280
280
```
281
281
282
282
If you are installing multiple environments, you will need to specify the name of the environment that you want to be activated.
283
283
284
284
```yml
285
-
- uses: prefix-dev/setup-pixi@v0.8.6
285
+
- uses: prefix-dev/setup-pixi@v0.8.7
286
286
with:
287
287
environments: >-
288
288
py311
@@ -299,7 +299,7 @@ You can specify whether `setup-pixi` should run `pixi install --frozen` or `pixi
299
299
See the [official documentation](https://prefix.dev/docs/pixi/cli#install) for more information about the `--frozen` and `--locked` flags.
300
300
301
301
```yml
302
-
- uses: prefix-dev/setup-pixi@v0.8.6
302
+
- uses: prefix-dev/setup-pixi@v0.8.7
303
303
with:
304
304
locked: true
305
305
# or
@@ -318,7 +318,7 @@ The first one is the debug logging of the action itself.
318
318
This can be enabled by running the action with the `RUNNER_DEBUG` environment variable set to `true`.
319
319
320
320
```yml
321
-
- uses: prefix-dev/setup-pixi@v0.8.6
321
+
- uses: prefix-dev/setup-pixi@v0.8.7
322
322
env:
323
323
RUNNER_DEBUG: true
324
324
```
@@ -336,7 +336,7 @@ The second type is the debug logging of the pixi executable.
336
336
This can be specified by setting the `log-level` input.
337
337
338
338
```yml
339
-
- uses: prefix-dev/setup-pixi@v0.8.6
339
+
- uses: prefix-dev/setup-pixi@v0.8.7
340
340
with:
341
341
# one of `q`, `default`, `v`, `vv`, or `vvv`.
342
342
log-level: vvv
@@ -362,7 +362,7 @@ If nothing is specified, `post-cleanup` will default to `true`.
362
362
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.
363
363
364
364
```yml
365
-
- uses: prefix-dev/setup-pixi@v0.8.6
365
+
- uses: prefix-dev/setup-pixi@v0.8.7
366
366
with:
367
367
post-cleanup: true
368
368
# ${{ runner.temp }}\Scripts\pixi.exe on Windows
@@ -378,7 +378,7 @@ You can also use a preinstalled local version of pixi on the runner by not setti
378
378
This can be overwritten by setting the `manifest-path` input argument.
379
379
380
380
```yml
381
-
- uses: prefix-dev/setup-pixi@v0.8.6
381
+
- uses: prefix-dev/setup-pixi@v0.8.7
382
382
with:
383
383
manifest-path: pyproject.toml
384
384
```
@@ -388,7 +388,7 @@ This can be overwritten by setting the `manifest-path` input argument.
388
388
If you only want to install pixi and not install the current project, you can use the `run-install` option.
0 commit comments