chore(deps): update Piccolo requirement from 1.6 to 1.6, 2.0 #89
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| tags: ["*"] | |
| repository_dispatch: | |
| types: [tagbot-release-created] | |
| concurrency: | |
| # Skip intermediate builds: always. | |
| # Cancel intermediate builds: only if it is a pull request build. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| statuses: write | |
| env: | |
| DOC_TEMPLATE_VERSION: "v0.7.0" # Change this to the specific tag version you want | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@v3 | |
| - uses: julia-actions/cache@v3 | |
| - name: Configure access to private Harmoniqs deps | |
| env: | |
| HARMONIQS_CI_TOKEN: ${{ secrets.HARMONIQS_CI_TOKEN }} | |
| if: env.HARMONIQS_CI_TOKEN != '' | |
| run: | | |
| git config --global url."https://x-access-token:${HARMONIQS_CI_TOKEN}@github.com/".insteadOf "https://github.com/" | |
| - name: Use Documentation Template | |
| run: | | |
| ./docs/get_docs_utils.sh ${{ env.DOC_TEMPLATE_VERSION }} | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-docdeploy@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload documentation artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: documentation-build | |
| path: docs/build/ | |
| retention-days: 1 | |
| - run: | | |
| julia --project=docs -e ' | |
| using Documenter: DocMeta, doctest | |
| using Legato | |
| DocMeta.setdocmeta!(Legato, :DocTestSetup, :(using Legato); recursive=true) | |
| doctest(Legato)' | |
| tagbot-dispatch: | |
| name: Dispatch on TagBot Release | |
| runs-on: ubuntu-latest | |
| needs: docs | |
| if: github.event_name == 'repository_dispatch' | |
| steps: | |
| - name: Dispatch PiccoloMultiDocs workflow | |
| uses: peter-evans/repository-dispatch@v4 | |
| with: | |
| token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| repository: harmoniqs/PiccoloMultiDocs.jl | |
| event-type: rebuild-docs | |
| tag-push-dispatch: | |
| name: Dispatch on Tag Push | |
| runs-on: ubuntu-latest | |
| needs: docs | |
| if: github.ref_type == 'tag' | |
| steps: | |
| - name: Dispatch PiccoloMultiDocs workflow | |
| uses: peter-evans/repository-dispatch@v4 | |
| with: | |
| token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| repository: harmoniqs/PiccoloMultiDocs.jl | |
| event-type: rebuild-docs |