Skip to content

Version 1.0.0

Version 1.0.0 #7

Workflow file for this run

name: Build and Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "21"
- name: Build with Maven
run: mvn clean package
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: "target/*.jar"
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release Information
run: echo "Release ${{ steps.create_release.outputs.upload_url }}"