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

This commit is contained in:
Fredrik Ekre
2023-03-13 18:32:34 +01:00
committed by GitHub
parent 7c59a056df
commit 72ddd0fcdc
2 changed files with 13 additions and 1 deletions

View File

@@ -33,3 +33,13 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
```
### 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.