From 6dcadb1779f4e07fa614ca824f3bf772915568a1 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Sat, 3 Feb 2024 20:45:09 +0800 Subject: [PATCH] =?UTF-8?q?CI:=20Upgrade=20actions/checkout@v3=20to=20acti?= =?UTF-8?q?ons/checkout@v4=E3=80=81actions/setup-java@v3=20to=20actions/se?= =?UTF-8?q?tup-java@v4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/kdoc.yml.bk | 4 ++-- .github/workflows/publish-release.yml | 14 +++++++------- .github/workflows/publish-snapshot.yml | 8 ++++---- .github/workflows/publish-v4-release.yml | 14 +++++++------- .github/workflows/publish-v4-snapshot.yml | 8 ++++---- .github/workflows/qodana_code_quality.yml | 2 +- .github/workflows/test-branch.yml | 4 ++-- .github/workflows/test-v4-branch.yml | 4 ++-- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/kdoc.yml.bk b/.github/workflows/kdoc.yml.bk index 8e362821b..3933c9399 100644 --- a/.github/workflows/kdoc.yml.bk +++ b/.github/workflows/kdoc.yml.bk @@ -12,14 +12,14 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 # setup Java - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c6c6d8574..3d7ae8699 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -23,11 +23,11 @@ jobs: steps: # 检出仓库代码 - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup Java 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 @@ -67,11 +67,11 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup java 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 @@ -103,14 +103,14 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 # setup Java - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 @@ -152,7 +152,7 @@ jobs: steps: # 检出仓库代码 - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Create gitHub release # https://github.com/marketplace/actions/gh-release diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index a9bf32330..919b78cc1 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -34,11 +34,11 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup java 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 @@ -72,14 +72,14 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 # setup Java - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 diff --git a/.github/workflows/publish-v4-release.yml b/.github/workflows/publish-v4-release.yml index 08b0735b0..cc55e6ff6 100644 --- a/.github/workflows/publish-v4-release.yml +++ b/.github/workflows/publish-v4-release.yml @@ -23,11 +23,11 @@ jobs: steps: # 检出仓库代码 - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup Java 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 @@ -67,11 +67,11 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup java 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 @@ -103,14 +103,14 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 # setup Java - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 @@ -151,7 +151,7 @@ jobs: steps: # 检出仓库代码 - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Create gitHub release # https://github.com/marketplace/actions/gh-release diff --git a/.github/workflows/publish-v4-snapshot.yml b/.github/workflows/publish-v4-snapshot.yml index cb618aa10..5c1f8d778 100644 --- a/.github/workflows/publish-v4-snapshot.yml +++ b/.github/workflows/publish-v4-snapshot.yml @@ -38,11 +38,11 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # setup Java - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 @@ -85,14 +85,14 @@ jobs: steps: # 检出仓库代码 - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 # setup Java - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index 86e65ad01..663ed90f8 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -14,7 +14,7 @@ jobs: pull-requests: write checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit fetch-depth: 0 # a full history is required for pull request analysis diff --git a/.github/workflows/test-branch.yml b/.github/workflows/test-branch.yml index 4c8d494c0..24792b685 100644 --- a/.github/workflows/test-branch.yml +++ b/.github/workflows/test-branch.yml @@ -17,8 +17,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 diff --git a/.github/workflows/test-v4-branch.yml b/.github/workflows/test-v4-branch.yml index fe617143d..4a09c0c7d 100644 --- a/.github/workflows/test-v4-branch.yml +++ b/.github/workflows/test-v4-branch.yml @@ -17,8 +17,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21