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
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,9 @@ 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.9.2
26
+
- uses: prefix-dev/setup-pixi@v0.9.3
27
27
with:
28
-
pixi-version: v0.55.0
28
+
pixi-version: v0.59.0
29
29
30
30
cache: true
31
31
auth-host: prefix.dev
@@ -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.9.2`) to avoid breaking changes.
38
+
> Please pin the versions of this action to a specific version (i.e., `prefix-dev/setup-pixi@v0.9.3`) 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.
The following example will install both the `py311` and the `py312` environment on the runner.
133
133
134
134
```yml
135
-
- uses: prefix-dev/setup-pixi@v0.9.2
135
+
- uses: prefix-dev/setup-pixi@v0.9.3
136
136
with:
137
137
# separated by spaces
138
138
environments: >-
@@ -155,7 +155,7 @@ For instance, the `keyring`, or `gcloud` executables. The following example show
155
155
By default, global environments are not cached. You can enable caching by setting the `global-cache` input to `true`.
156
156
157
157
```yml
158
-
- uses: prefix-dev/setup-pixi@v0.9.2
158
+
- uses: prefix-dev/setup-pixi@v0.9.3
159
159
with:
160
160
global-environments: |
161
161
google-cloud-sdk
@@ -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).
189
189
190
190
```yml
191
-
- uses: prefix-dev/setup-pixi@v0.9.2
191
+
- uses: prefix-dev/setup-pixi@v0.9.3
192
192
with:
193
193
auth-host: prefix.dev
194
194
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
@@ -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.
201
201
202
202
```yml
203
-
- uses: prefix-dev/setup-pixi@v0.9.2
203
+
- uses: prefix-dev/setup-pixi@v0.9.3
204
204
with:
205
205
auth-host: custom-artifactory.com
206
206
auth-username: ${{ secrets.PIXI_USERNAME }}
@@ -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).
214
214
215
215
```yml
216
-
- uses: prefix-dev/setup-pixi@v0.9.2
216
+
- uses: prefix-dev/setup-pixi@v0.9.3
217
217
with:
218
218
auth-host: anaconda.org # or my-quetz-instance.com
219
219
auth-conda-token: ${{ secrets.CONDA_TOKEN }}
@@ -225,7 +225,7 @@ Specify the S3 key pair using the `auth-access-key-id` and `auth-secret-access-k
225
225
You can also specify the session token using the `auth-session-token` input argument.
@@ -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.
242
242
243
243
```yml
244
-
- uses: prefix-dev/setup-pixi@v0.9.2
244
+
- uses: prefix-dev/setup-pixi@v0.9.3
245
245
with:
246
246
pypi-keyring-provider: subprocess # one of 'subprocess', 'disabled'
247
247
```
@@ -309,15 +309,15 @@ To this end, `setup-pixi` adds all environment variables set when executing `pix
309
309
As a result, all installed binaries can be accessed without having to call `pixi run`.
310
310
311
311
```yml
312
-
- uses: prefix-dev/setup-pixi@v0.9.2
312
+
- uses: prefix-dev/setup-pixi@v0.9.3
313
313
with:
314
314
activate-environment: true
315
315
```
316
316
317
317
If you are installing multiple environments, you will need to specify the name of the environment that you want to be activated.
318
318
319
319
```yml
320
-
- uses: prefix-dev/setup-pixi@v0.9.2
320
+
- uses: prefix-dev/setup-pixi@v0.9.3
321
321
with:
322
322
environments: >-
323
323
py311
@@ -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.
335
335
336
336
```yml
337
-
- uses: prefix-dev/setup-pixi@v0.9.2
337
+
- uses: prefix-dev/setup-pixi@v0.9.3
338
338
with:
339
339
locked: true
340
340
# or
@@ -353,7 +353,7 @@ The first one is the debug logging of the action itself.
353
353
This can be enabled by running the action with the `RUNNER_DEBUG` environment variable set to `true`.
354
354
355
355
```yml
356
-
- uses: prefix-dev/setup-pixi@v0.9.2
356
+
- uses: prefix-dev/setup-pixi@v0.9.3
357
357
env:
358
358
RUNNER_DEBUG: true
359
359
```
@@ -371,7 +371,7 @@ The second type is the debug logging of the pixi executable.
371
371
This can be specified by setting the `log-level` input.
372
372
373
373
```yml
374
-
- uses: prefix-dev/setup-pixi@v0.9.2
374
+
- uses: prefix-dev/setup-pixi@v0.9.3
375
375
with:
376
376
# one of `q`, `default`, `v`, `vv`, or `vvv`.
377
377
log-level: vvv
@@ -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.
398
398
399
399
```yml
400
-
- uses: prefix-dev/setup-pixi@v0.9.2
400
+
- uses: prefix-dev/setup-pixi@v0.9.3
401
401
with:
402
402
post-cleanup: true
403
403
# ${{ runner.temp }}\Scripts\pixi.exe on Windows
@@ -413,7 +413,7 @@ You can also use a preinstalled local version of pixi on the runner by not setti
413
413
This can be overwritten by setting the `manifest-path` input argument.
414
414
415
415
```yml
416
-
- uses: prefix-dev/setup-pixi@v0.9.2
416
+
- uses: prefix-dev/setup-pixi@v0.9.3
417
417
with:
418
418
manifest-path: pyproject.toml
419
419
```
@@ -423,7 +423,7 @@ This can be overwritten by setting the `manifest-path` input argument.
423
423
If you only want to install pixi and not install the current project, you can use the `run-install` option.
424
424
425
425
```yml
426
-
- uses: prefix-dev/setup-pixi@v0.9.2
426
+
- uses: prefix-dev/setup-pixi@v0.9.3
427
427
with:
428
428
run-install: false
429
429
```
@@ -434,7 +434,7 @@ You can also download pixi from a custom URL by setting the `pixi-url` input arg
434
434
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