diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e3f509..4a5d5ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,11 @@ jobs: architecture: x64 cache: maven + - name: Restore Maven cache + uses: skjolber/maven-cache-github-action@v3.1.1 + with: + step: restore + - name: Maven Validate run: mvn -B --settings .mvn/custom-settings.xml validate - name: Maven Compile @@ -57,6 +62,11 @@ jobs: name: jar-file path: target/mediatoad-1-SNAPSHOT-jar-with-dependencies.jar + - name: Save Maven cache + uses: skjolber/maven-cache-github-action@v3.1.1 + with: + step: save + build-image: runs-on: ubuntu-latest