Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: true
default: false
required: false
type: boolean
coverage:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: true
default: false
required: false
type: boolean
buildpkg:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/grouped-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ on:
default: "v1"
required: false
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: false
required: false
type: boolean

jobs:
detect:
Expand Down Expand Up @@ -116,4 +121,5 @@ jobs:
coverage-directories: "${{ inputs.coverage-directories }}"
apt-packages: "${{ inputs.apt-packages }}"
container: "${{ inputs.container }}"
cache: ${{ inputs.cache }}
secrets: "inherit"
6 changes: 6 additions & 0 deletions .github/workflows/sublibrary-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ on:
default: "v1"
required: false
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: false
required: false
type: boolean

jobs:
detect:
Expand Down Expand Up @@ -126,4 +131,5 @@ jobs:
allow-reresolve: ${{ inputs.allow-reresolve }}
coverage: ${{ inputs.coverage }}
coverage-directories: "${{ matrix.project }}/src,${{ matrix.project }}/ext"
cache: ${{ inputs.cache }}
secrets: "inherit"
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: true
default: false
required: false
type: boolean
buildpkg:
Expand Down Expand Up @@ -124,7 +124,11 @@ jobs:
arch: "${{ inputs.julia-arch || runner.arch }}"

- uses: julia-actions/cache@v3
if: "${{ inputs.cache }}"
# Skip caching on self-hosted runners: demeter has a persistent, already
# warm depot (20-29GB), so the cache always MISSES and the post-job save
# tar-uploads 20-29GB at ~7MB/s (+30-62 min/job). Only useful on
# GitHub-hosted/ephemeral runners (empty `runner` and not `self-hosted`).
if: "${{ inputs.cache && inputs.runner == '' && !inputs.self-hosted }}"
with:
token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
Loading