Skip to content

Commit

Permalink
Bump actions/cache from 3 to 4 (#18)
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Mar 17, 2024
1 parent e2cd474 commit dd7ce81
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
java-version: 17

- name: Gradle Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -32,7 +32,7 @@ jobs:
key: gradle-${{ hashFiles('**/build.gradle*', '**/*.versions.toml') }}

- name: Gradle Wrapper Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -43,12 +43,12 @@ jobs:
echo "version=$(awk -F'[ ="]+' '$1 == "kotlin" { print $2 }' ./gradle/libs.versions.toml)" >> $GITHUB_OUTPUT
- name: Konan Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ steps.get-kotlin-version.outputs.version }}
- name: AVD cache
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}

- name: Gradle Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -42,7 +42,7 @@ jobs:
key: gradle-${{ hashFiles('**/build.gradle*', '**/*.versions.toml') }}

- name: Gradle Wrapper Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -53,7 +53,7 @@ jobs:
echo "version=$(awk -F'[ ="]+' '$1 == "kotlin" { print $2 }' ./gradle/libs.versions.toml)" >> $GITHUB_OUTPUT
- name: Konan Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ steps.get-kotlin-version.outputs.version }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- uses: actions/checkout@v4

- name: K6 node_modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 'k6/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('k6/yarn.lock') }}
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}

- name: Gradle Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -229,7 +229,7 @@ jobs:
key: gradle-${{ hashFiles('**/build.gradle*', '**/*.versions.toml') }}

- name: Gradle Wrapper Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -240,13 +240,13 @@ jobs:
echo "version=$(awk -F'[ ="]+' '$1 == "kotlin" { print $2 }' ./gradle/libs.versions.toml)" >> $GITHUB_OUTPUT
- name: Konan Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ steps.get-kotlin-version.outputs.version }}

- name: AVD cache
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -328,7 +328,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}

- name: Gradle Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -337,7 +337,7 @@ jobs:
key: gradle-${{ hashFiles('**/build.gradle*', '**/*.versions.toml') }}

- name: Gradle Wrapper Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -348,13 +348,13 @@ jobs:
echo "version=$(awk -F'[ ="]+' '$1 == "kotlin" { print $2 }' ./gradle/libs.versions.toml)" >> $GITHUB_OUTPUT
- name: Konan Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ steps.get-kotlin-version.outputs.version }}

- name: AVD cache
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down

0 comments on commit dd7ce81

Please sign in to comment.