Bump StatsBase compat #59
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: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
tags: ['*'] | |
paths: | |
- '.github/workflows/docs.yml' | |
- 'src/**' | |
- 'docs/**' | |
- 'Project.toml' | |
- 'Manifest.toml' | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- '.github/workflows/docs.yml' | |
- 'src/**' | |
- 'docs/**' | |
- 'Project.toml' | |
- 'Manifest.toml' | |
jobs: | |
Documentation: | |
# Run on push's or non-draft PRs | |
if: (github.event_name == 'push') || (github.event.pull_request.draft == false) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1.7 # earliest supported version | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-docs-artifacts-${{ hashFiles('**/Project.toml') }} | |
restore-keys: ${{ runner.os }}-docs-artifacts | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-docdeploy@releases/v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token |