Skip to content

Commit 9b2082e

Browse files
Sébastien LoiselSébastien Loisel
authored andcommitted
CI: remove cached packages before installing from git main branch
1 parent b03b10f commit 9b2082e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
julia --project=. -e '
5050
using Pkg
5151
Pkg.add(name="OpenSSL_jll", version="3.0")
52-
# Install from GitHub main branch (with MPI fixes)
53-
# Use rev="main" to get latest commit, not just tagged version
52+
# Remove cached versions first, then install from GitHub main branch
53+
try Pkg.rm("LinearAlgebraMPI") catch end
54+
try Pkg.rm("MultiGridBarrier") catch end
5455
Pkg.add(url="https://github.com/sloisel/LinearAlgebraMPI.jl.git", rev="main")
5556
Pkg.add(url="https://github.com/sloisel/MultiGridBarrier.jl.git", rev="main")
5657
Pkg.instantiate()
@@ -112,8 +113,9 @@ jobs:
112113
using Pkg
113114
Pkg.develop(PackageSpec(path=pwd()))
114115
Pkg.add(name="OpenSSL_jll", version="3.0")
115-
# Install from GitHub main branch (with MPI fixes)
116-
# Use rev="main" to get latest commit, not just tagged version
116+
# Remove cached versions first, then install from GitHub main branch
117+
try Pkg.rm("LinearAlgebraMPI") catch end
118+
try Pkg.rm("MultiGridBarrier") catch end
117119
Pkg.add(url="https://github.com/sloisel/LinearAlgebraMPI.jl.git", rev="main")
118120
Pkg.add(url="https://github.com/sloisel/MultiGridBarrier.jl.git", rev="main")
119121
Pkg.instantiate()

0 commit comments

Comments
 (0)