Skip to content

Commit 775c624

Browse files
committed
chore: update workflow scripts
1 parent 021d8d6 commit 775c624

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
if-no-files-found: warn
5151
retention-days: 14
5252

53+
- name: Upload coverage to Codecov
54+
uses: codecov/codecov-action@v5
55+
5356
publish-snapshot:
5457
needs: build
5558
runs-on: ubuntu-latest
@@ -73,7 +76,7 @@ jobs:
7376
cache-dependency-path: '**/package-lock.json'
7477

7578
- name: Publish SNAPSHOT version to GitHub Packages (we can skip tests, since we only deploy, if the build workflow succeeded)
76-
run: ./mvnw -B --no-transfer-progress deploy -DskipTests
79+
run: ./mvnw -B deploy --no-transfer-progress -P central-deploy -DskipTests
7780
env:
7881
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7982

.github/workflows/release-to-maven-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: ./mvnw versions:set "-DnewVersion=${{ github.event.inputs.releaseversion }}" --no-transfer-progress
6666

6767
- name: Publish package
68-
run: ./mvnw -B deploy --no-transfer-progress -P central-deploy -DskipTests=true
68+
run: ./mvnw -B deploy --no-transfer-progress -P central-deploy -DskipTests
6969
env:
7070
#TODO: This is a workaround for NEXUS-27902 which uses XStream that fails on JVM >16
7171
JDK_JAVA_OPTIONS: "--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"

0 commit comments

Comments
 (0)