Export the JULIA_PKG_SERVER_REGISTRY_PREFERENCE variable for subsequent steps. (#75)

This commit is contained in:
Fredrik Ekre
2023-03-13 18:32:24 +01:00
committed by GitHub
parent ba451bf755
commit 3378215696
2 changed files with 13 additions and 3 deletions

View File

@@ -78,3 +78,13 @@ If you only want to add this prefix on certain builds, you can [include addition
```
This will add the prefix `xvfb-run` to all builds where the `os` is `ubuntu-latest`.
### Registry flavor preference
This actions defines (and exports for subsequent steps of the workflow) the
environmental variable `JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager` unless it
is already set. If you want another registry flavor (i.e. `conservative`) this
should be defined in the `env:` section of the relevant workflow or step. See
[Registry flavors](https://pkgdocs.julialang.org/dev/registries/#Registry-flavors)
for more information.