mirror of
https://github.com/arcadiadevs/hubcore.git
synced 2024-11-25 06:45:11 +01:00
22 lines
517 B
YAML
22 lines
517 B
YAML
name: Java CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'zulu'
|
|
- name: Build with Maven
|
|
run: mvn --batch-mode --update-snapshots package
|
|
- run: mkdir staging && cp target/*.jar staging
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: PSHubCore.jar
|
|
path: staging/PSHubCore.jar |