This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
Build and package #6
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 | |
run-name: Build and package | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 for x64 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
architecture: x64 | |
- name: mvn clean package | |
run: mvn clean package | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Package | |
path: target/*.jar | |
if-no-files-found: error |