Skip to content

Add gh-actions (#3)

Add gh-actions (#3) #2

name: Build and Publish
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
env:
TERM: xterm-256color
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build jar
run: make
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/libs/*.jar