Skip to content

v1.6.1 - Market filter & custom starting capital #45

v1.6.1 - Market filter & custom starting capital

v1.6.1 - Market filter & custom starting capital #45

Workflow file for this run

name: Build and Attach Release JAR
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'
cache: maven
- run: mvn clean package
- name: Set versioned JAR name
run: |
$tag = "${{ github.ref_name }}"
echo "JAR_NAME=MillionsG40-$tag.jar" >> $env:GITHUB_ENV
- name: Rename JAR
run: mv target/*-shaded.jar $env:JAR_NAME
- uses: softprops/action-gh-release@v1
with:
files: ${{ env.JAR_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}