diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 48f268e..0b56a1c 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -24,11 +24,9 @@ jobs: distribution: [temurin] steps: - # Check out Git repository - name: Checkout code uses: actions/checkout@v2 - # Set up environment with Java and Maven - name: Setup JDK uses: actions/setup-java@v2 with: @@ -36,6 +34,5 @@ jobs: java-version: ${{ matrix.java }} cache: 'maven' - # Build & verify - name: Build and verify run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify diff --git a/.github/workflows/maven-deploy.yml b/.github/workflows/maven-deploy.yml index b739333..89c709a 100644 --- a/.github/workflows/maven-deploy.yml +++ b/.github/workflows/maven-deploy.yml @@ -14,17 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - # Check out Git repository - name: Checkout code uses: actions/checkout@v2 - # Configure GIT - name: Configure GIT run: | git config --global user.email "${{ secrets.GH_SITE_DEPLOY_EMAIL }}" git config --global user.name "${{ secrets.GH_SITE_DEPLOY_NAME }}" - # Set up environment with Java and Maven - name: Setup JDK uses: actions/setup-java@v2 with: @@ -32,7 +29,6 @@ jobs: java-version: 8 cache: 'maven' - # Build, deploy to ossrh - name: Build, verify, deploy, generate site env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}