Skip to content

Commit

Permalink
Update ci_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg authored Oct 13, 2024
1 parent 379b5b2 commit 861f892
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,22 @@ $julia -e '
'

echo "== build documentation for $GITHUB_REPOSITORY@$GITHUB_REF, triggered by $GITHUB_ACTOR on $GITHUB_EVENT_NAME =="
$julia <<EOF
$julia <<'EOF'
using Pkg
rev = split(ENV["GITHUB_REF"], "/", limit=3)[3])
println("rev=$rev")
Pkg.develop([
(; path="./RecipesBase"),
(; path="./RecipesPipeline"),
(; path="./PlotsBase"),
(; path="."),
(; path="./GraphRecipes"),
(; path="./StatsPlots"),
])
Pkg.add(PackageSpec(name="Plots", rev=split(ENV["GITHUB_REF"], "/", limit=3)[3]))
Pkg.add(PackageSpec(; name="Plots", rev)
Pkg.instantiate()
EOF
$julia docs/make.jl

0 comments on commit 861f892

Please sign in to comment.