Skip to content

Workflow file for this run

name: Publish release
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Java JDK
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 8
- name: Package JAR
run: mvn package
- name: Upload JAR
uses: jasonetco/upload-to-release@master
with:
args: target/MCCTDW.jar application/java-archive
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}