Skip to content

Update to latest beta version (#21) #10

Update to latest beta version (#21)

Update to latest beta version (#21) #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '11'
- name: Set version
run: mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=${GITHUB_REF##*/}
- name: Build
run: mvn clean package
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./target/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}