diff --git a/.github/workflows/push-issue.yml b/.github/workflows/push-issue.yml index 397b99a3d1..dde1820021 100644 --- a/.github/workflows/push-issue.yml +++ b/.github/workflows/push-issue.yml @@ -23,18 +23,12 @@ on: - 'issue-*' jobs: - build: + update-site: + name: Linux runs-on: ubuntu-latest + container: maven/eclipse-temurin-21-alpine steps: - - - uses: actions/checkout@v3 - name: "Checking out." - - - uses: actions/setup-java@v3 - with: - java-version: 19 - distribution: "temurin" - cache: maven - - - name: "Building with Maven." + - name: 'Checkout' + uses: actions/checkout@v3 + - name: 'Build with Maven' run: mvn verify -e -B -V --no-transfer-progress diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ae1167b259..0b35bb9acd 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -25,30 +25,9 @@ jobs: update-site: name: Linux runs-on: ubuntu-latest + container: maven/eclipse-temurin-21-alpine steps: - name: 'Checkout' uses: actions/checkout@v3 - - name: Cache local Maven repositories - uses: actions/cache@v3 - with: - path: | - ~/.m2/repository - ./**/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - name: 'Setup Java Version' - uses: actions/setup-java@v3 - with: - java-version: 18 - distribution: 'temurin' - cache: maven - - name: 'Build' - run: unset JAVA_TOOL_OPTIONS;mvn -V --no-transfer-progress verify site:site site:stage - - name: 'Deploy to gh-pages' - uses: JamesIves/github-pages-deploy-action@releases/v4 - with: - branch: gh-pages - folder: target/staging - target-folder: snapshot - + - name: 'Build with Maven' + run: mvn -V --no-transfer-progress verify site:site site:stage