File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 version : ${{ matrix.version }}
4242 arch : ${{ matrix.arch }}
4343 - uses : julia-actions/cache@v3
44+ - name : Ensure General registry
45+ run : |
46+ julia -e '
47+ using Pkg
48+ if isempty(Pkg.Registry.reachable_registries())
49+ try
50+ Pkg.Registry.add()
51+ catch
52+ ENV["JULIA_PKG_SERVER"] = ""
53+ Pkg.Registry.add(Pkg.RegistrySpec(
54+ url="https://github.com/JuliaRegistries/General.git",
55+ ))
56+ end
57+ end'
4458 - uses : julia-actions/julia-buildpkg@v1
4559 - uses : julia-actions/julia-runtest@v1
4660 - uses : julia-actions/julia-processcoverage@v1
Original file line number Diff line number Diff line change 2626 with :
2727 version : " 1"
2828 - uses : julia-actions/cache@v3
29+ - name : Ensure General registry
30+ run : |
31+ julia -e '
32+ using Pkg
33+ if isempty(Pkg.Registry.reachable_registries())
34+ try
35+ Pkg.Registry.add()
36+ catch
37+ ENV["JULIA_PKG_SERVER"] = ""
38+ Pkg.Registry.add(Pkg.RegistrySpec(
39+ url="https://github.com/JuliaRegistries/General.git",
40+ ))
41+ end
42+ end'
2943 - name : Install dependencies
3044 run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
3145 - name : Build and deploy
You can’t perform that action at this time.
0 commit comments