diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index ecf51060d..30d57dc16 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -14,27 +14,23 @@ # specific language governing permissions and limitations under the License. # name: Java CI - on: pull_request: branches: [ $default-branch ] - env: MAVEN_OPTS: -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - jobs: build: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: 'Set up JDK 1.8' uses: actions/setup-java@v1 with: java-version: '1.8' - - name: 'Cache Maven packages' - uses: actions/cache@v2 - with: + - name: 'Cache Maven packages' + uses: actions/cache@v2 + with: path: ~/.m2 key: 'cache' restore-keys: 'cache'