Skip to content

build: 1.0.1-SNAPSHOT #44

build: 1.0.1-SNAPSHOT

build: 1.0.1-SNAPSHOT #44

Workflow file for this run

name: Publish Snapshot
on:
push:
branches:
- main
jobs:
build:
name: Publish Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
16
17
21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Build with Gradle
run: ./gradlew publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}