Skip to content

pr-auditor: report failures (#70) #56

pr-auditor: report failures (#70)

pr-auditor: report failures (#70) #56

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["v*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get tag
id: tag
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: 'gradle'
- name: Publish ${{ github.ref }}
run: ./gradlew -Pversion=${{ steps.tag.outputs.version }} publish
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }}