Switch Java distribution to Temurin (#267)

This commit is contained in:
stevenyomi 2024-01-15 16:24:21 +08:00 committed by GitHub
parent 7145763652
commit 7a3b62e790
2 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- id: get-changed-files - id: get-changed-files
name: Get changed files name: Get changed files
@ -111,7 +111,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Generate sources from the multi-source library - name: Generate sources from the multi-source library
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
@ -145,7 +145,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Build extensions (chunk ${{ matrix.chunk }}) - name: Build extensions (chunk ${{ matrix.chunk }})
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2

View File

@ -35,7 +35,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Generate multisrc sources - name: Generate multisrc sources
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
@ -82,7 +82,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Prepare signing key - name: Prepare signing key
run: | run: |
@ -131,7 +131,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Prepare signing key - name: Prepare signing key
run: | run: |
@ -176,7 +176,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: adopt distribution: temurin
- name: Checkout main branch - name: Checkout main branch
uses: actions/checkout@v4 uses: actions/checkout@v4