1
mirror of https://github.com/CarmJos/BukkitJSONSerializer.git synced 2026-06-05 00:58:20 +08:00

ci: upgrade jdk version

This commit is contained in:
2022-06-07 07:05:35 +08:00
parent 5707d62af4
commit 8de886adbb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ jobs:
- name: "Set up JDK" - name: "Set up JDK"
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
server-id: github server-id: github
@@ -43,7 +43,7 @@ jobs:
- name: "Set up JDK" - name: "Set up JDK"
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
server-id: ossrh server-id: ossrh
@@ -67,7 +67,7 @@ jobs:
- name: "Set up JDK" - name: "Set up JDK"
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- name: "Set up JDK" - name: "Set up JDK"
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '8' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
- name: "Package" - name: "Package"
run: mvn -B package --file pom.xml -Dgpg.skip run: mvn -B package --file pom.xml -Dgpg.skip