Skip to content

Update build.yml

Update build.yml #3

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up JDK
uses: actions/setup-java@main
with:
java-version: 17
distribution: temurin
- name: Build GSit
run: mvn clean package
- name: Release GSit
uses: marvinpinto/action-automatic-releases@master
with:
title: "GSit"
automatic_release_tag: "build"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "target/*.jar"
prerelease: true