Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 1ea92c6

Browse files
committed
Switched to Temurin
as Zulu is not required anymore
1 parent a6e5501 commit 1ea92c6

2 files changed

Lines changed: 11 additions & 26 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,11 @@ jobs:
1313
- name: Set up JDK 8
1414
uses: actions/setup-java@v2
1515
with:
16-
distribution: 'zulu'
16+
distribution: 'temurin'
1717
java-version: '8'
18-
java-package: jdk+fx
18+
java-package: jdk
19+
cache: 'maven'
1920

20-
- name: Cache local Maven repository
21-
uses: actions/cache@v2
22-
with:
23-
path: ~/.m2/repository
24-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25-
restore-keys: |
26-
${{ runner.os }}-maven-
27-
2821
- name: Build with Maven
2922
run: mvn -B clean verify
3023

@@ -112,9 +105,9 @@ jobs:
112105
- name: Set up JDK 8 Apache Maven Central
113106
uses: actions/setup-java@v2
114107
with: # running setup-java again overwrites the settings.xml
115-
distribution: 'zulu'
108+
distribution: 'temurin'
116109
java-version: '8'
117-
java-package: jdk+fx
110+
java-package: jdk
118111
server-id: ossrh
119112
server-username: MAVEN_CENTRAL_USERNAME
120113
server-password: MAVEN_CENTRAL_TOKEN
@@ -144,17 +137,9 @@ jobs:
144137
- name: Set up JDK 8
145138
uses: actions/setup-java@v2
146139
with:
147-
distribution: 'zulu'
140+
distribution: 'temurin'
148141
java-version: '8'
149-
java-package: jdk+fx
150-
151-
- name: Restore - Maven Cache
152-
uses: actions/cache@v1
153-
with:
154-
path: ~/.m2/repository
155-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
156-
restore-keys: |
157-
${{ runner.os }}-maven-:
142+
java-package: jdk
158143

159144
- name: Build dependencies/licenses files
160145
run: mvn -B project-info-reports:dependencies

‎.github/workflows/test-deploy.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111

12-
- name: Set up JDK 8 Apache Maven Central
12+
- name: Set up JDK 8 OSSRH
1313
uses: actions/setup-java@v2
1414
with: # running setup-java again overwrites the settings.xml
15-
distribution: 'zulu'
15+
distribution: 'temurin'
1616
java-version: '8'
17-
java-package: jdk+fx
17+
java-package: jdk
1818
server-id: ossrh
1919
server-username: MAVEN_CENTRAL_USERNAME
2020
server-password: MAVEN_CENTRAL_TOKEN
2121
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2222
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2323

24-
- name: Publish to Apache Maven Central
24+
- name: Publish to OSSRH
2525
run: mvn -B deploy -Possrh
2626
env:
2727
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}

0 commit comments

Comments
 (0)