Skip to content

Bump julia-actions/setup-julia from 1 to 2 #393

Bump julia-actions/setup-julia from 1 to 2

Bump julia-actions/setup-julia from 1 to 2 #393

Workflow file for this run

name: Docs
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- name: Install dependencies, build and deploy
run: |
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include(joinpath(pwd(), "docs", "make.jl"))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
shell: julia --color=yes --project=docs/ {0}