From 8c779ffc8c9eaea09a7d9d686791430b355ac5a5 Mon Sep 17 00:00:00 2001 From: Orso Meneghini Date: Thu, 18 Jul 2024 15:47:56 -0700 Subject: [PATCH] update gh actions --- .github/workflows/make_docs.yml | 3 ++- .github/workflows/runtests.yml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make_docs.yml b/.github/workflows/make_docs.yml index 7b8a7f2..ec31109 100644 --- a/.github/workflows/make_docs.yml +++ b/.github/workflows/make_docs.yml @@ -26,7 +26,8 @@ jobs: - name: Add FuseRegistry run: | - julia --project=docs/ -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git")); Pkg.Registry.add("General"); Pkg.Registry.update()' + rm -rf ~/.julia/registries/FuseRegistry + julia -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git")); Pkg.Registry.add("General"); Pkg.Registry.update()' - name: Replace git@github.com with https in Package.toml files run: | diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 09825f5..192e0d6 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -29,7 +29,8 @@ jobs: - name: Add FuseRegistry run: | - julia --project=docs/ -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git")); Pkg.Registry.add("General"); Pkg.Registry.update()' + rm -rf ~/.julia/registries/FuseRegistry + julia -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git")); Pkg.Registry.add("General"); Pkg.Registry.update()' - name: Replace git@github.com with https in Package.toml files run: | @@ -37,9 +38,8 @@ jobs: - name: Install dependencies run: | - julia --project=docs -e ' + julia -e ' using Pkg - Pkg.activate("docs") Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() '