From dd7856f60e92ea0c1c3aad94b1a58ffeebafc64b Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Tue, 24 Sep 2024 20:23:11 -0700 Subject: [PATCH] add documentation workflow --- .github/workflows/documentation.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index cc731b92..3ec7ad61 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -12,11 +12,21 @@ jobs: permissions: contents: write runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@latest + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 with: version: '1.10' + - uses: actions/cache@v1 + 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 }}- + - uses: julia-actions/julia-buildpkg@v1 - name: Install dependencies run: | current_path=${{ github.workspace }}