Skip to content

Merge pull request #127 from kittinunf/iNoles-patch-1 #48

Merge pull request #127 from kittinunf/iNoles-patch-1

Merge pull request #127 from kittinunf/iNoles-patch-1 #48

Workflow file for this run

name: Run Gradle on Main
on:
push:
branches:
- master
- main
jobs:
publish:
name: Build and publish - SNAPSHOT
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Publish to MavenCentral
uses: gradle/gradle-build-action@v2
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
with:
arguments: publishAllPublicationsToSonatypeRepository --max-workers 1
- name: Upload allTests results
uses: actions/upload-artifact@v2.2.3
if: failure()
with:
name: allTests
path: ./**/build/reports/tests/allTests