Update workflow #62
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
# Automatically build the project and run any configured tests for every push | |
# and submitted pull request. This can help catch issues that only occur on | |
# certain platforms or Java versions, and provides a first line of defence | |
# against bad commits. | |
name: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: build | |
run: mvn package | |
- name: l4j dl | |
run: curl -o l4j.tgz https://gigenet.dl.sourceforge.net/project/launch4j/launch4j-3/3.50/launch4j-3.50-linux-x64.tgz?viasf=1 | |
- name: l4j unzip | |
run: tar -xzf l4j.tgz | |
- name: l4j run | |
run: java -jar launch4j/launch4j.jar launch4jConfig.xml | |
- name: capture build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts | |
path: target/dist/ |