diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 716a89a..b7ffb40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,6 +75,9 @@ jobs: with: path: docs/${{ matrix.notebook }} key: ${{ runner.os }}-notebook-${{ hashFiles(format('docs/{0}', matrix.notebook)) }}-${{ needs.setup.outputs.hash }} + - name: Install Julia kernel + if: ${{ steps.cache.outputs.cache-hit != 'true' }} + run: julia -e 'import IJulia; IJulia.installkernel("Julia", "--project=@.")' - name: Execute Notebook if: ${{ steps.cache.outputs.cache-hit != 'true' }} run: > diff --git a/setup.jl b/setup.jl index 8c3c982..ad8188a 100644 --- a/setup.jl +++ b/setup.jl @@ -1,10 +1,6 @@ using Pkg Pkg.add(["IJulia"]) -import IJulia -IJulia.installkernel("Julia", "--project=@.") - Pkg.activate(".") Pkg.instantiate() Pkg.precompile() -Pkg.gc()