Skip to content

Assembly jar

Assembly jar #6

Workflow file for this run

name: Build JAR
on: [push, workflow_dispatch]
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- run: mvn clean compile assembly:single
- name:
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: 'latest'
prerelease: false
files: target/*.jar
- uses: dev-drprasad/[email protected]
with:
keep_latest: 1
delete_tags: true
delete_tag_pattern: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}