v1.6.1 - Market filter & custom starting capital #45
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |