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

Commit 2e56a78

Browse files
authored
Merge pull request #13 from xdev-software/develop
Release v6.0.0 No.2
2 parents a203b45 + 13fd8bb commit 2e56a78

2 files changed

Lines changed: 13 additions & 36 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ jobs:
114114
git config --global user.email "actions@github.com"
115115
git config --global user.name "GitHub Actions"
116116
git pull
117+
118+
# Fixes OSSRH-66257
119+
# See https://issues.sonatype.org/browse/OSSRH-66257?focusedCommentId=1036973&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1036973
120+
- if: ${{ matrix.java == 17 }}
121+
run: |
122+
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
117123
118124
- name: Set up JDK and configure for ossrh
119125
uses: actions/setup-java@v2
@@ -188,45 +194,10 @@ jobs:
188194
github_token: ${{ secrets.GITHUB_TOKEN }}
189195
publish_dir: ./docs
190196
enable_jekyll: true
191-
192-
build_xdev_ide:
193-
runs-on: ubuntu-latest
194-
needs: [prepare_release]
195-
steps:
196-
- uses: actions/checkout@v2
197-
198-
- name: Init Git and pull
199-
run: |
200-
git config --global user.email "actions@github.com"
201-
git config --global user.name "GitHub Actions"
202-
git pull
203-
204-
- name: Set up JDK
205-
uses: actions/setup-java@v2
206-
with:
207-
distribution: 'zulu'
208-
java-version: '8'
209-
java-package: jdk+fx
210-
211-
- name: Cache local Maven repository
212-
uses: actions/cache@v2
213-
with:
214-
path: ~/.m2/repository
215-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
216-
restore-keys: |
217-
${{ runner.os }}-maven-
218-
219-
- name: Build with Maven
220-
run: mvn -B clean verify -Pjava8,xdev-ide
221-
222-
- uses: actions/upload-artifact@v2
223-
with:
224-
name: jars-xdev-ide
225-
path: target/*.jar
226197

227198
after_release:
228199
runs-on: ubuntu-latest
229-
needs: [publish_central, build_xdev_ide]
200+
needs: [publish_central]
230201
steps:
231202
- uses: actions/checkout@v2
232203

.github/workflows/test-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323

24+
# Fixes OSSRH-66257
25+
# See https://issues.sonatype.org/browse/OSSRH-66257?focusedCommentId=1036973&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1036973
26+
- if: ${{ matrix.java == 17 }}
27+
run: |
28+
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
29+
2430
- name: Set up JDK and configure for ossrh
2531
uses: actions/setup-java@v2
2632
with: # running setup-java again overwrites the settings.xml

0 commit comments

Comments
 (0)