Store structure matrices and vectors with names as dictionaries #1151
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: | |
| - main | |
| tags: '*' | |
| pull_request: | |
| jobs: | |
| docs-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.12.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "1" | |
| - name: Cache artifacts | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-artifacts | |
| with: | |
| path: ~/.julia/artifacts | |
| key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-test-${{ env.cache-name }}- | |
| ${{ runner.os }}-test- | |
| ${{ runner.os }}- | |
| - name: Install dependencies | |
| env: | |
| PYTHON: "" | |
| run: | | |
| julia --color=yes --project -e 'using Pkg; Pkg.instantiate()' | |
| julia --project -e 'using Conda; Conda.add("scipy=1.14.1")' | |
| julia --color=yes --project -e 'using Conda; Conda.add("scikit-learn=1.5.1")' | |
| julia --color=yes --project=docs/ -e 'using Pkg; Pkg.instantiate()' | |
| julia --color=yes --project=docs/ -e 'using Pkg; Pkg.precompile()' | |
| - name: Build and deploy | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | |
| JULIA_PROJECT: "docs/" | |
| run: julia --color=yes --project=docs/ docs/make.jl |