Skip to content

Commit 6faea2e

Browse files
authored
[CI] Use julia-actions/cache workflow only for the docs (#362)
We can't cache the artifacts when running the main tests because that'd require over 10 GiB, which is the maximum GHA can handle, so at least we cache stuff for the docs.
1 parent b1063f8 commit 6faea2e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,17 @@ jobs:
6161
with:
6262
version: ${{ matrix.julia-version }}
6363
arch: x64
64-
- uses: julia-actions/cache@v1
65-
# For the time being cache artifacts only for squashfs, we need too much
66-
# storage for the unpacked shards
67-
if: ${{ matrix.squashfs == true }}
68-
with:
69-
# Reserve entire cache to artifacts
70-
cache-name: ${{ matrix.squashfs }}
71-
cache-artifacts: "true"
72-
cache-packages: "false"
73-
cache-registries: "false"
64+
# We can't cache artifacts at the moment, it'd require more than 10 GiB.
65+
# - uses: julia-actions/cache@v1
66+
# # For the time being cache artifacts only for squashfs, we need too much
67+
# # storage for the unpacked shards
68+
# if: ${{ matrix.squashfs == true }}
69+
# with:
70+
# # Reserve entire cache to artifacts
71+
# cache-name: ${{ matrix.squashfs }}
72+
# cache-artifacts: "true"
73+
# cache-packages: "false"
74+
# cache-registries: "false"
7475
- uses: julia-actions/julia-buildpkg@latest
7576
- name: System info
7677
run: |
@@ -101,6 +102,7 @@ jobs:
101102
JULIA_PKG_SERVER: ""
102103
steps:
103104
- uses: actions/checkout@v4
105+
- uses: julia-actions/cache@v1
104106
- uses: julia-actions/setup-julia@latest
105107
with:
106108
version: "1.7"

0 commit comments

Comments
 (0)