Skip to content

Commit 0f67d9b

Browse files
committed
Add Node.js setup to Gradle publish workflow
1 parent f02f5d3 commit 0f67d9b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/gradle-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
java-version: '21'
2525
distribution: 'temurin'
2626

27+
- name: Set up Node.js
28+
uses: actions/setup-node@v6
29+
with:
30+
node-version: '22' # increase only after https://github.com/nodejs/node/issues/56645 will be fixed
31+
2732
- name: Setup Gradle
2833
uses: gradle/actions/setup-gradle@v6
2934

30-
- name: Build
31-
run: ./gradlew build --rerun-tasks --max-workers 2 --continue
32-
3335
- name: Publish to Maven Central Portal
3436
id: publish
3537
run: ./gradlew publishToMavenCentral --no-configuration-cache

0 commit comments

Comments
 (0)