Skip to content

Merge pull request #5 from F3F5/main #1

Merge pull request #5 from F3F5/main

Merge pull request #5 from F3F5/main #1

Workflow file for this run

name: Build and upload jar
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 8
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2
with:
# Artifact name
name: BetterWorldStats
# A file, directory or wildcard pattern that describes what to upload
path: target/*.jar