Skip to content

Commit

Permalink
Create Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
russellbanks committed May 16, 2023
1 parent 8d3561b commit e36d760
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build with Gradle
run: ./gradlew build

- name: Release JAR
if: matrix.os == 'ubuntu-latest'
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: build/libs/*-all.jar

0 comments on commit e36d760

Please sign in to comment.