We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f33242 commit 1122f16Copy full SHA for 1122f16
.github/workflows/release-kontrakt.yml
@@ -14,18 +14,7 @@ jobs:
14
with:
15
java-version: 11
16
distribution: 'adopt'
17
-
18
- - name: Set cache key
19
- run: |
20
- echo "CACHE_KEY=$(expr $(date +%V) - 1 + 1)" >> $GITHUB_ENV
21
- echo "PREVIOUS_CACHE_KEY=$(expr $(date +%V) - 1 + 1)" >> $GITHUB_ENV
22
- - uses: actions/cache@v2
23
- with:
24
- path: ~/.m2
25
- key: ${{ runner.os }}-maven-${{ env.CACHE_KEY }}
26
- restore-keys: |
27
- ${{ runner.os }}-maven-${{ env.PREVIOUS_CACHE_KEY }}
28
+ cache: 'maven'
29
- name: Publish artifacts
30
shell: bash
31
run: |
0 commit comments