diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/quarkiverse/java/.github/workflows/build.yml b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/quarkiverse/java/.github/workflows/build.yml index 67fec1fd8dbb7..560094a775b8c 100644 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/quarkiverse/java/.github/workflows/build.yml +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/quarkiverse/java/.github/workflows/build.yml @@ -28,27 +28,26 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - distribution: temurin - java-version: 11 - - - name: Get Date - id: get-date - run: | - echo "::set-output name=date::$(/bin/date -u "+%Y-%m")" - shell: bash - - name: Cache Maven Repository - id: cache-maven - uses: actions/cache@v2 - with: - path: ~/.m2/repository - # refresh cache every month to avoid unlimited growth - key: maven-repo-${{ runner.os }}-${{ steps.get-date.outputs.date }} - - - name: Build with Maven - run: mvn -B formatter:validate verify --file pom.xml - + - uses: actions/checkout@v2 + + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + distribution: temurin + java-version: 11 + + - name: Get Date + id: get-date + run: | + echo "::set-output name=date::$(/bin/date -u "+%Y-%m")" + shell: bash + - name: Cache Maven Repository + id: cache-maven + uses: actions/cache@v2 + with: + path: ~/.m2/repository + # refresh cache every month to avoid unlimited growth + key: maven-repo-${{ runner.os }}-${{ steps.get-date.outputs.date }} + + - name: Build with Maven + run: mvn -B formatter:validate verify --file pom.xml