Skip to content

Release

Release #15

Workflow file for this run

name: Release
concurrency: ci-${{ github.ref }}
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: fregante/setup-git-user@v2
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: tagRelease
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
- 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
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
env:
MAVEN_USER: github
MAVEN_PASSWORD: ${{ secrets.RELEASE_MAVEN_PASSWORD }}
MAVEN_URL: https://maven.lukebemish.dev/releases/
- run: |
git push
git push --tags