Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade actions/cache from 3.0.8 to 3.0.11 #3370

Merged
merged 4 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.event.after}}
- name: Built Code Cache
if: ${{ matrix.java == 8}}
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: built-code-${{ github.run_number }}-${{ github.run_attempt }}
path: ./**/target
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
distribution: 'adopt'
cache: 'maven'
- name: Cache SonarCloud packages
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Restore Built Code Cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: built-code-${{ github.run_number }}-${{ github.run_attempt }}
path: ./**/target
Expand Down Expand Up @@ -301,14 +301,14 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.event.after}}

- name: Built Code Cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: built-code-${{ github.run_number }}-${{ github.run_attempt }}
path: ./**/target

##Cache based on install4j file, since changes to JVM is seen in there. If install4j version changes without changing the file, change the prefix letter before hashFiles to force a new cache
- name: Install4j Cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: install4j-A${{ hashFiles('liquibase-dist/src/main/install4j/liquibase.install4j') }}
path: ~/.install4j8/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
mv re-version/out/liquibase-additional-${{ needs.setup.outputs.version }}.zip re-version/final

- name: Cache Completed Artifacts
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: completed-artifacts-${{ github.run_number }}-${{ github.run_attempt }}
path: re-version/final
Expand All @@ -105,7 +105,7 @@ jobs:
- uses: actions/checkout@v3

- name: Restore Completed Artifacts
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
key: completed-artifacts-${{ github.run_number }}-${{ github.run_attempt }}
path: re-version/final
Expand Down