From 565ea42a903020daa0da841fd70906f2f85671fd Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:28:29 +0100 Subject: [PATCH 1/8] ci(publish): update workflow --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0904cbe..5f06b4c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,6 +54,7 @@ jobs: uses: actions/setup-node@v6 with: node-version: ${{env.NODE_VERSION}}.x + registry-url: 'https://registry.npmjs.org' - name: Setup Java JDK uses: actions/setup-java@v5 with: @@ -107,6 +108,11 @@ jobs: id-token: write steps: - uses: actions/checkout@v6 + - name: Setup Node.js environment + uses: actions/setup-node@v6 + with: + node-version: ${{env.NODE_VERSION}}.x + registry-url: 'https://registry.npmjs.org' - name: Build uses: addnab/docker-run-action@v3 timeout-minutes: 180 From 6eb18f94223c4b014f8e1d34f2c66625f7e6af9d Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:32:34 +0100 Subject: [PATCH 2/8] ci(publish): update workflow --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f06b4c..e5e7917 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -111,8 +111,8 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v6 with: - node-version: ${{env.NODE_VERSION}}.x - registry-url: 'https://registry.npmjs.org' + node-version: ${{env.NODE_VERSION}}.x + registry-url: 'https://registry.npmjs.org' - name: Build uses: addnab/docker-run-action@v3 timeout-minutes: 180 From c16602ad0d47f4dce212ba7d810a125f24e25beb Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:45:24 +0100 Subject: [PATCH 3/8] ci(publish): update workflow --- .github/workflows/publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5e7917..a60ed59 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,10 @@ env: JAVA_VERSION: 21 NODE_VERSION: 22 +permissions: + id-token: write + contents: read + jobs: build: strategy: @@ -43,9 +47,6 @@ jobs: publish: false runs-on: ${{ matrix.os }} - permissions: - contents: read - id-token: write steps: - name: Checkout @@ -103,9 +104,6 @@ jobs: build-musl: runs-on: ubuntu-latest - permissions: - contents: read - id-token: write steps: - uses: actions/checkout@v6 - name: Setup Node.js environment From 538ac34f4f60f98e3382d09f759ba3aef838be54 Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:58:23 +0100 Subject: [PATCH 4/8] ci(publish): update workflow --- .github/workflows/publish.yml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a60ed59..b151e0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -87,20 +87,12 @@ jobs: run: mv java.*.node npm/${{ matrix.package }} shell: bash - name: NPM Publish Binary - uses: JS-DevTools/npm-publish@v4 - if: ${{ matrix.package != 'linux-x64-gnu' }} - with: - access: public - package: npm/${{ matrix.package }}/package.json - dry-run: ${{ github.event.inputs.dry-run == 'true' }} - ignore-scripts: false + if: ${{ matrix.package != 'linux-x64-gnu' && github.event.inputs.dry-run != 'true' }} + working-directory: npm/${{ matrix.package }} + run: npm publish --access public - name: NPM Publish - uses: JS-DevTools/npm-publish@v4.1.5 - if: ${{ matrix.package == 'linux-x64-gnu' }} - with: - access: public - dry-run: ${{ github.event.inputs.dry-run == 'true' }} - ignore-scripts: false + if: ${{ matrix.package == 'linux-x64-gnu' && github.event.inputs.dry-run != 'true' }} + run: npm publish --access public build-musl: runs-on: ubuntu-latest @@ -131,12 +123,9 @@ jobs: run: mv java.*.node npm/linux-x64-musl shell: bash - name: NPM Publish Binary - uses: JS-DevTools/npm-publish@v4 - with: - access: public - package: npm/linux-x64-musl/package.json - dry-run: ${{ github.event.inputs.dry-run == 'true' }} - ignore-scripts: false + working-directory: npm/linux-x64-musl + if: ${{ github.event.inputs.dry-run != 'true' }} + run: npm publish --access public draft-release: needs: [build, build-musl] From 81a2d092eb932402e54da747924d886282b48785 Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:09:46 +0100 Subject: [PATCH 5/8] ci(publish): update workflow --- .github/workflows/publish.yml | 13 +++++++------ .github/workflows/test.yml | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b151e0b..9a93d5e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,8 @@ on: env: JAVA_VERSION: 21 NODE_VERSION: 22 + CARGO_TERM_COLOR: always + DRY_RUN: ${{ (github.event.inputs.dry-run == 'true' && '--dry-run') || '' }} permissions: id-token: write @@ -87,12 +89,12 @@ jobs: run: mv java.*.node npm/${{ matrix.package }} shell: bash - name: NPM Publish Binary - if: ${{ matrix.package != 'linux-x64-gnu' && github.event.inputs.dry-run != 'true' }} + if: ${{ matrix.package != 'linux-x64-gnu' }} working-directory: npm/${{ matrix.package }} - run: npm publish --access public + run: npm publish --access public ${{env.DRY_RUN}} - name: NPM Publish - if: ${{ matrix.package == 'linux-x64-gnu' && github.event.inputs.dry-run != 'true' }} - run: npm publish --access public + if: ${{ matrix.package == 'linux-x64-gnu' }} + run: npm publish --access public ${{env.DRY_RUN}} build-musl: runs-on: ubuntu-latest @@ -124,8 +126,7 @@ jobs: shell: bash - name: NPM Publish Binary working-directory: npm/linux-x64-musl - if: ${{ github.event.inputs.dry-run != 'true' }} - run: npm publish --access public + run: npm publish --access public ${{env.DRY_RUN}} draft-release: needs: [build, build-musl] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9cfdcc0..b4ddba7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -144,7 +144,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20, 22] + node-version: [20, 22, 24] runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 @@ -225,7 +225,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20, 22] + node-version: [20, 22, 24] runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 From 8d68b420eabd478a017f8686100e59503b9089b1 Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:09:58 +0100 Subject: [PATCH 6/8] ci(publish): update workflow --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a93d5e..a86537a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ on: default: 'false' env: JAVA_VERSION: 21 - NODE_VERSION: 22 + NODE_VERSION: 24 CARGO_TERM_COLOR: always DRY_RUN: ${{ (github.event.inputs.dry-run == 'true' && '--dry-run') || '' }} From 3d873bc23c529fa70e0e81c270d17ef894edcaae Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:34:24 +0100 Subject: [PATCH 7/8] ci(publish): update workflow --- .github/workflows/publish.yml | 3 +++ npm/linux-arm64-gnu/package.json | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a86537a..26353a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -92,9 +92,11 @@ jobs: if: ${{ matrix.package != 'linux-x64-gnu' }} working-directory: npm/${{ matrix.package }} run: npm publish --access public ${{env.DRY_RUN}} + continue-on-error: true - name: NPM Publish if: ${{ matrix.package == 'linux-x64-gnu' }} run: npm publish --access public ${{env.DRY_RUN}} + continue-on-error: true build-musl: runs-on: ubuntu-latest @@ -127,6 +129,7 @@ jobs: - name: NPM Publish Binary working-directory: npm/linux-x64-musl run: npm publish --access public ${{env.DRY_RUN}} + continue-on-error: true draft-release: needs: [build, build-musl] diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index 2c2c07a..b88e680 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -17,5 +17,12 @@ }, "libc": [ "glibc" - ] + ], + "repository": { + "type": "git", + "url": "git+https://github.com/MarkusJx/node-java-bridge.git" + }, + "bugs": { + "url": "https://github.com/MarkusJx/node-java-bridge/issues" + } } From 713a7244668a64afc053045c9c2091b37a2e2aa0 Mon Sep 17 00:00:00 2001 From: Markus <28785953+MarkusJx@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:42:42 +0100 Subject: [PATCH 8/8] ci(publish): update workflow --- .github/workflows/publish.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 26353a8..a86537a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -92,11 +92,9 @@ jobs: if: ${{ matrix.package != 'linux-x64-gnu' }} working-directory: npm/${{ matrix.package }} run: npm publish --access public ${{env.DRY_RUN}} - continue-on-error: true - name: NPM Publish if: ${{ matrix.package == 'linux-x64-gnu' }} run: npm publish --access public ${{env.DRY_RUN}} - continue-on-error: true build-musl: runs-on: ubuntu-latest @@ -129,7 +127,6 @@ jobs: - name: NPM Publish Binary working-directory: npm/linux-x64-musl run: npm publish --access public ${{env.DRY_RUN}} - continue-on-error: true draft-release: needs: [build, build-musl]