Skip to content

Add GitHub Actions update (#107) #56

Add GitHub Actions update (#107)

Add GitHub Actions update (#107) #56

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
# Artifact name
name: NoteblockAPI
# Directory containing files to upload
path: target/*.jar