Skip to content

Update CI to use the gradle/actions/setup-gradle action #102

Update CI to use the gradle/actions/setup-gradle action

Update CI to use the gradle/actions/setup-gradle action #102

Workflow file for this run

name: SNAPSHOT
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v4
- name: Publish a SNAPSHOT
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
run: ./gradlew publish --stacktrace