Prepare version 3.0.0 #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
concurrency: | |
# Skip intermediate builds: all builds except for builds on the `master` branch | |
# Cancel intermediate builds: only pull request builds | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
build: | |
permissions: | |
contents: write | |
statuses: write | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: julia-actions/setup-julia@512e2ab44f5848ea62bddd21d1ee906e989b0360 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@8608484607cba0bdb5437a7bad85d6502499d029 # v2.0.4 | |
- name: Install dependencies | |
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | |
- name: Build and deploy | |
env: | |
JULIA_DEBUG: Documenter | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: julia --project=docs/ docs/make.jl |