diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5f497ce89..8a9d94e6d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,9 +26,9 @@ jobs: options: --name saltminion2 --link saltmaster:salt steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '11' @@ -36,11 +36,11 @@ jobs: run: mvn checkstyle:check javadoc:javadoc test package - name: Get branch name or tag if: success() - uses: tj-actions/branch-names@v5 + uses: tj-actions/branch-names@v8 id: branch-name - name: Publish javadoc for the default branch if: success() && steps.branch-name.outputs.is_default == 'true' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./target/apidocs @@ -49,7 +49,7 @@ jobs: user_email: 'github-actions[bot]@users.noreply.github.com' - name: Publish javadoc for a tagged release if: success() && steps.branch-name.outputs.is_tag == 'true' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./target/apidocs diff --git a/pom.xml b/pom.xml index a11ed2fd6..f6daa1bbc 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.13 true ossrh @@ -51,7 +51,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.2.4 sign-artifacts @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-source-plugin - 3.0.1 + 3.3.1 attach-sources @@ -78,18 +78,17 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 - - 1.8 - 1.8 + 3.13.0 + + 11 org.apache.maven.plugins maven-javadoc-plugin - 3.0.1 + 3.6.3 - 8 + 11 @@ -103,7 +102,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.1.0 + 3.3.1 com.puppycrawl.tools @@ -123,7 +122,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M1 + 3.2.5