Skip to content

legend-julia-cheat-sheet coding help for software dev in julia #15

legend-julia-cheat-sheet coding help for software dev in julia

legend-julia-cheat-sheet coding help for software dev in julia #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'releases/**'
tags: '*'
pull_request:
release:
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Cache artifacts
uses: actions/cache@v2
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- name: Make and deploy docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: 'nul'
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.add("Documenter"); Pkg.instantiate(); cd("docs"); include("make.jl")'