We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce2143 commit cea4052Copy full SHA for cea4052
.github/workflows/maven.yml
@@ -20,5 +20,16 @@ jobs:
20
uses: actions/setup-java@v1
21
with:
22
java-version: 1.8
23
+ - name: Cache Maven packages
24
+ uses: actions/cache@v2
25
+ with:
26
+ path: ~/.m2
27
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: ${{ runner.os }}-m2
29
- name: Build with Maven
30
run: mvn -B package --file pom.xml
31
+ - run: mkdir staging && cp target/*.jar staging
32
+ - uses: actions/upload-artifact@v2
33
34
+ name: Package
35
+ path: staging
0 commit comments