Skip to content

Commit 85df3cb

Browse files
committed
Update the documentation CI
- Use the latest stable version to build the docs - Use the cache action, should make docs builds faster - Dev all the sub-packages so we don't pull only the latest registered versions of `TimespanLogging` and `DaggerWebDash`.
1 parent 518a4b0 commit 85df3cb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: .github/workflows/Documentation.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ on:
77
tags: '*'
88
pull_request:
99

10+
permissions:
11+
actions: write
12+
contents: read
13+
1014
jobs:
1115
build:
1216
runs-on: ubuntu-latest
1317
steps:
1418
- uses: actions/checkout@v4
1519
- uses: julia-actions/setup-julia@latest
1620
with:
17-
version: '1.8'
21+
version: '1'
22+
- uses: julia-actions/cache@v1
1823
- name: Install dependencies
19-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
24+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop([PackageSpec(path=pwd()), PackageSpec(path=pwd() * "/lib/TimespanLogging"), PackageSpec(path=pwd() * "/lib/DaggerWebDash")]); Pkg.instantiate()'
2025
- name: Build and deploy
2126
env:
2227
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token

0 commit comments

Comments
 (0)