Skip to content

Push dev branch to main (#8) #21

Push dev branch to main (#8)

Push dev branch to main (#8) #21

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: Report coverage
# run: make coveralls
# env: # Or as an environment variable
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/libs/*.jar