Skip to content

Commit

Permalink
enbale mvn cache to speed up workflow (sofastack#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrezzerO authored Aug 24, 2022
1 parent 600ff15 commit 169016c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
# enable manually running the workflow
workflow_dispatch:

jobs:
build:
Expand All @@ -16,9 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: ./mvnw clean install -Pci-install -B -U -e && bash ./tools/check_format.sh
- name: Test with Maven
Expand Down

0 comments on commit 169016c

Please sign in to comment.