Skip to content

Commit c7fb8fd

Browse files
authored
[CI] Remove manual upload of cache upon failure (#561)
1 parent 8057ded commit c7fb8fd

3 files changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ jobs:
7878
run: |
7979
julia --compile=min -O0 -e 'using InteractiveUtils; versioninfo()'
8080
- uses: julia-actions/cache@v3
81-
id: julia-cache
8281
with:
8382
# On self-hosted runners we use the prebuilt Docker container, which already
8483
# caches pkgimages and such, so we don't need to cache here most things. Only
@@ -151,13 +150,3 @@ jobs:
151150
token: ${{ secrets.CODECOV_TOKEN }}
152151
files: lcov.info
153152
continue-on-error: true
154-
- name: Save Julia depot cache on cancel or failure
155-
id: julia-cache-save
156-
# Avoid wasting time saving the cache on Windows, it takes long to both
157-
# save it and fetch it back.
158-
if: ${{ (runner.os != 'Windows') && (cancelled() || failure()) }}
159-
uses: actions/cache/save@v5
160-
with:
161-
path: |
162-
${{ steps.julia-cache.outputs.cache-paths }}
163-
key: ${{ steps.julia-cache.outputs.cache-key }}

.github/workflows/Documentation.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
with:
9898
version: "1.12.5"
9999
- uses: julia-actions/cache@v3
100-
id: julia-cache
101100
- uses: actions/download-artifact@v8
102101
with:
103102
name: documentation-build
@@ -120,11 +119,3 @@ jobs:
120119
env:
121120
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122121
DOCUMENTER_KEY: ${{ secrets.BREEZEDOCUMENTATION_DOCUMENTER_KEY }}
123-
- name: Save Julia depot cache on cancel or failure
124-
id: julia-cache-save
125-
if: cancelled() || failure()
126-
uses: actions/cache/save@v5
127-
with:
128-
path: |
129-
${{ steps.julia-cache.outputs.cache-paths }}
130-
key: ${{ steps.julia-cache.outputs.cache-key }}

.github/workflows/Validation.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
with:
4646
version: ${{ matrix.version }}
4747
- uses: julia-actions/cache@v3
48-
id: julia-cache
4948
- name: Instantiate examples environment
5049
shell: julia --color=yes --project=examples {0}
5150
run: |
@@ -57,11 +56,3 @@ jobs:
5756
CI: "true"
5857
run: |
5958
julia --color=yes --project=examples examples/boussinesq_bomex.jl
60-
- name: Save Julia depot cache on cancel or failure
61-
id: julia-cache-save
62-
if: cancelled() || failure()
63-
uses: actions/cache/save@v5
64-
with:
65-
path: |
66-
${{ steps.julia-cache.outputs.cache-paths }}
67-
key: ${{ steps.julia-cache.outputs.cache-key }}

0 commit comments

Comments
 (0)