Skip to content

Commit 22d8eb2

Browse files
committed
Remove obsolte cache-on-error in CI workflows
1 parent f02c32b commit 22d8eb2

3 files changed

Lines changed: 2 additions & 32 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ jobs:
4545
with:
4646
files: lcov.info
4747
token: ${{ secrets.CODECOV_TOKEN }}
48-
- name: Save Julia depot cache on cancel or failure
49-
id: julia-cache-save
50-
if: cancelled() || failure()
51-
uses: actions/cache/save@v5
52-
with:
53-
path: |
54-
${{ steps.julia-cache.outputs.cache-paths }}
55-
key: ${{ steps.julia-cache.outputs.cache-key }}
5648
docs:
5749
name: Documentation
5850
runs-on: ubuntu-latest
@@ -69,6 +61,8 @@ jobs:
6961
- name: "Instantiate build environment"
7062
run: |
7163
wget https://raw.githubusercontent.com/JuliaQuantumControl/JuliaQuantumControl/master/scripts/installorg.jl
64+
install -m 600 -D /dev/null ~/.ssh/known_hosts
65+
ssh-keyscan -H github.com > ~/.ssh/known_hosts
7266
julia --project=docs installorg.jl
7367
- name: "Build documentation"
7468
run: julia --project=docs docs/make.jl
@@ -86,14 +80,6 @@ jobs:
8680
path: |
8781
README.md
8882
./docs.zip
89-
- name: Save Julia depot cache on cancel or failure
90-
id: julia-cache-save
91-
if: cancelled() || failure()
92-
uses: actions/cache/save@v5
93-
with:
94-
path: |
95-
${{ steps.julia-cache.outputs.cache-paths }}
96-
key: ${{ steps.julia-cache.outputs.cache-key }}
9783
codestyle:
9884
name: Codestyle
9985
runs-on: ubuntu-latest

.github/workflows/GRAPE.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,3 @@ jobs:
3333
run: |
3434
using Pkg
3535
Pkg.test("GRAPE", coverage=true)
36-
- name: Save Julia depot cache on cancel or failure
37-
id: julia-cache-save
38-
if: cancelled() || failure()
39-
uses: actions/cache/save@v5
40-
with:
41-
path: |
42-
${{ steps.julia-cache.outputs.cache-paths }}
43-
key: ${{ steps.julia-cache.outputs.cache-key }}

.github/workflows/Krotov.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,3 @@ jobs:
3333
run: |
3434
using Pkg
3535
Pkg.test("Krotov", coverage=true)
36-
- name: Save Julia depot cache on cancel or failure
37-
id: julia-cache-save
38-
if: cancelled() || failure()
39-
uses: actions/cache/save@v5
40-
with:
41-
path: |
42-
${{ steps.julia-cache.outputs.cache-paths }}
43-
key: ${{ steps.julia-cache.outputs.cache-key }}

0 commit comments

Comments
 (0)