use julia_version Pkg.add kwarg rather than specifying it through ctx
#173
Workflow file for this run
This file contains hidden or 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: | |
| push: | |
| branches: "master" | |
| tags: ["*"] | |
| paths: | |
| - '.github/workflows/Documentation.yml' | |
| - '*.toml' | |
| - 'docs/**' | |
| - 'src/**' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/Documentation.yml' | |
| - '*.toml' | |
| - 'docs/**' | |
| - 'src/**' | |
| release: | |
| concurrency: | |
| # Skip intermediate builds: always. | |
| # Cancel intermediate builds: always. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| BINARYBUILDER_AUTOMATIC_APPLE: true | |
| jobs: | |
| Documentation: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| env: | |
| JULIA_PKG_SERVER: "" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/cache@v2 | |
| - uses: julia-actions/setup-julia@v1 | |
| with: | |
| version: "1.7" | |
| - uses: julia-actions/julia-docdeploy@releases/v1 | |
| env: | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |