Skip to content

V1.6.8

V1.6.8 #11

Workflow file for this run

name: Build & publish release
on:
workflow_dispatch:
release:
types: [created]
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Release
uses: softprops/action-gh-release@v2
with:
prerelease: false
draft: false
files: target/TheGoldEconomy-*.jar
generate_release_notes: true