mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-14 08:41:28 +00:00
store to run-specific cache, but restore from any previous run
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ GITHUB_SHA }}
|
||||
key: ${{ runner.os }}-maven-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- name: Build with Maven
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ GITHUB_SHA }}
|
||||
key: ${{ runner.os }}-maven-${{ github.run_id }}
|
||||
- name: Build with Maven
|
||||
run: mvn -B package -DskipTests --file main/pom.xml --resume-from=buildkit -Prelease
|
||||
- name: Upload buildkit-linux.zip
|
||||
|
||||
Reference in New Issue
Block a user