Skip to content

Merge pull request #59 from samtkit/java-21 #19

Merge pull request #59 from samtkit/java-21

Merge pull request #59 from samtkit/java-21 #19

name: Publish Snapshot
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Publish Snapshot to Sonatype OSSRH
run: ./gradlew --no-daemon publishMavenPublicationToOSSRHRepository
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}