Skip to content
Snippets Groups Projects
Unverified Commit 8b0f2c13 authored by Luis Paolini's avatar Luis Paolini Committed by GitHub
Browse files

Fallback cache keys & upgrade caching actions (#21234)

* First commit

* Reverting input deletion
parent 9c1b2257
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ runs:
using: "composite"
steps:
- name: Prepare JDK ${{ inputs.java-version }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ inputs.java-version }}
distribution: 'temurin'
......@@ -25,9 +25,11 @@ runs:
curl -O https://download.clojure.org/install/linux-install-${{ inputs.clojure-version }}.sh &&
sudo bash ./linux-install-${{ inputs.clojure-version }}.sh
- name: Get M2 cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2
~/.gitlibs
key: ${{ runner.os }}-${{ inputs.m2-cache-key }}-${{ hashFiles('**/deps.edn') }}
restore-keys: |
${{ runner.os }}-${{ inputs.m2-cache-key }}-
......@@ -3,7 +3,7 @@ runs:
using: "composite"
steps:
- name: Get Cypress cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-Cypress-${{ hashFiles('**/yarn.lock') }}
......
......@@ -8,12 +8,12 @@ runs:
node-version: 14.x
cache: 'yarn'
- name: Get M2 cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }}
- name: Get node_modules cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
......
......@@ -42,7 +42,7 @@ jobs:
java-version: [8, 11, 17]
steps:
- name: Prepare JRE (Java Run-time Environment)
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-package: jre
java-version: ${{ matrix.java-version }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment