Skip to content

Commit

Permalink
[CI] Use julia-actions/cache instead of actions/cache (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Oct 28, 2024
1 parent 76ed223 commit b63c211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
version: '1'
arch: ${{ runner.arch }}
if: steps.julia_in_path.outcome != 'success'
- uses: julia-actions/cache@v2
- name: "Add the General registry via Git"
run: |
import Pkg
Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,7 @@ jobs:
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Cache artifacts
uses: actions/cache@v4
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/cache@v2
- uses: julia-actions/julia-runtest@v1
env:
SANDBOX_BUILD_LOCAL_SANDBOX: ${{ matrix.build-local-sandbox }}
Expand All @@ -56,17 +46,7 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: "^1.7.0-0"
- name: Cache artifacts
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-docs-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }}
restore-keys: |
${{ runner.os }}-docs-${{ env.cache-name }}-
${{ runner.os }}-docs-
${{ runner.os }}-
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-docdeploy@releases/v1
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 comments on commit b63c211

Please sign in to comment.