diff --git a/.github/workflows/auto-format-pr.yaml b/.github/workflows/auto-format-pr.yaml index 499a25f3b6..1cb3d95e5a 100644 --- a/.github/workflows/auto-format-pr.yaml +++ b/.github/workflows/auto-format-pr.yaml @@ -34,14 +34,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true - name: Set up JDK 8 uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: Code Format Apply run: diff --git a/.github/workflows/build-backend.yml b/.github/workflows/build-backend.yml index f881f92517..04aac9632a 100644 --- a/.github/workflows/build-backend.yml +++ b/.github/workflows/build-backend.yml @@ -31,9 +31,9 @@ jobs: hadoop: [2.7, 3.3] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 8 @@ -63,9 +63,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/check-code-format.yml b/.github/workflows/check-code-format.yml index 3e2d68f040..d894814288 100644 --- a/.github/workflows/check-code-format.yml +++ b/.github/workflows/check-code-format.yml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: Code format check run: ./mvnw spotless:check diff --git a/.github/workflows/check-license.yml b/.github/workflows/check-license.yml index 088aaf3830..b68c524661 100644 --- a/.github/workflows/check-license.yml +++ b/.github/workflows/check-license.yml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: License check with Maven run: | rat_file=`mvn apache-rat:check | { grep -oe "\\S\\+/rat.txt" || true; }` diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml index 98aa19ab5e..9b5c015a81 100644 --- a/.github/workflows/dead-link-checker.yaml +++ b/.github/workflows/dead-link-checker.yaml @@ -26,7 +26,7 @@ jobs: timeout-minutes: 30 if: (github.repository == 'apache/linkis') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'no' diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 355ef1f33f..85d3b9a23e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -82,7 +82,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 8 - name: Cache local Maven repository uses: actions/cache@v4 diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 76e1565042..d385cb70ac 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -41,7 +41,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 8 - name: Cache local Maven repository uses: actions/cache@v4 diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index db6de687ee..35701625cf 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -38,7 +38,7 @@ jobs: - name: Setup JDK 8 uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 8 - name: Get Version