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 069e818 commit b1f4783Copy full SHA for b1f4783
.github/workflows/generator.yaml
@@ -18,13 +18,13 @@ jobs:
18
- name: Cache local Maven repository
19
uses: actions/cache@v2
20
with:
21
- path: ~/.m2/repository
+ path: ./.m2/repository
22
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23
restore-keys: |
24
${{ runner.os }}-maven-
25
- name: Build JAR
26
env:
27
- MAVEN_OPTS: -Dmaven.repo.local=$HOME/.m2/repository
+ MAVEN_OPTS: -Dmaven.repo.local=./.m2/repository
28
run: mvn clean package
29
- name: Move archive
30
run: mv target/*.tar json-data-generator.tar
@@ -67,6 +67,7 @@ jobs:
67
- name: Build container image
68
uses: docker/build-push-action@v2
69
70
+ context: .
71
push: true
72
tags: ${{ steps.meta.outputs.tags }}
73
github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments