Skip to content

New release

New release #6

Workflow file for this run

---
name: Publish
on:
push:
tags:
- "v*.*.*"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "corretto"
java-version: "17"
cache: "gradle"
- name: Build
run: ./gradlew clean assemble
- name: Publish artefacts
run: ./gradlew publish
env:
GITHUB_USER: ${{ secrets.GITHUB_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create release
uses: softprops/action-gh-release@v2