From 998c492e3cacc5b7496d0f19b060a406ad9f56c8 Mon Sep 17 00:00:00 2001 From: Johannes Hahn Date: Thu, 23 May 2024 09:43:17 +0200 Subject: [PATCH] Update GH actions to their latest versions --- .github/workflows/maven.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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