Skip to content

Add cache to CI

Add cache to CI #243

Workflow file for this run

name: Documenter
on:
push:
branches: [master]
tags: [v*]
pull_request:
jobs:
Documenter:
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
show-versioninfo: true # this causes versioninfo to be printed to the action log
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: \${{ secrets.DOCUMENTER_KEY }}