Skip to content

Update groovy and hopefully allow use with fabric loader #3

Update groovy and hopefully allow use with fabric loader

Update groovy and hopefully allow use with fabric loader #3

Workflow file for this run

name: Release
concurrency: ci-${{ github.ref }}
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: checkLicenses build
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
- uses: gradle/gradle-build-action@v2
with:
arguments: publish closeAndReleaseSonatypeStagingRepository
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
env:
SONATYPE_USER: ${{ secrets.CENTRAL_MAVEN_USER }}
SONATYPE_PASSWORD: ${{ secrets.CENTRAL_MAVEN_PASSWORD }}
SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}