Skip to content

Bump actions/setup-java from 4.2.1 to 4.2.2 (#756) #401

Bump actions/setup-java from 4.2.1 to 4.2.2 (#756)

Bump actions/setup-java from 4.2.1 to 4.2.2 (#756) #401

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: 11
cache: 'gradle'
- name: Build
run: ./gradlew build
- name: Publish snapshot to sonatype
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publishToSonatype