From 7a6ac0b57ac0a06656f790437059e54109692541 Mon Sep 17 00:00:00 2001 From: Qingyu Qu <2283984853@qq.com> Date: Thu, 24 Oct 2024 14:18:22 +0800 Subject: [PATCH] Only build docs on julia 1.10 Signed-off-by: Qingyu Qu <2283984853@qq.com> --- .github/workflows/{Documenter.yml => Documentation.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{Documenter.yml => Documentation.yml} (90%) diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documentation.yml similarity index 90% rename from .github/workflows/Documenter.yml rename to .github/workflows/Documentation.yml index 8adb58d..d9fc93a 100644 --- a/.github/workflows/Documenter.yml +++ b/.github/workflows/Documentation.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: "1" + version: "1.10" - uses: julia-actions/cache@v2 - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' @@ -27,4 +27,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key - run: julia --project=docs/ docs/make.jl + run: julia --project=docs/ --color=yes docs/make.jl