Skip to content

update ci

update ci #35

Workflow file for this run

name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout changes
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
check-latest: true
cache: 'gradle'
- name: Build jar
run: mvn --batch-mode --show-version --errors package --file pom.xml
- name: Publish release
uses: softprops/action-gh-release@v2
with:
name: '${{ github.ref_name }}'
body: 'Release generated at commit: ${{ github.sha }}'
files: 'target/*.jar'