Skip to content

Merge pull request #1 from jumpingpxl/patch-1 #20

Merge pull request #1 from jumpingpxl/patch-1

Merge pull request #1 from jumpingpxl/patch-1 #20

Workflow file for this run

name : LabyAddon Build
on :
push :
branches : [ "master", "main" ]
pull_request :
branches : [ "master", "main" ]
workflow_dispatch :
env :
PUBLIC_RELEASE_BUILD : true
PUBLIC_RELEASE_BUILD_TOKEN : ${{ secrets.PUBLIC_RELEASE_BUILD_TOKEN }}
jobs :
build :
runs-on : ubuntu-latest
steps :
- uses : actions/checkout@v3
- name : Set up JDK 17
uses : actions/setup-java@v3
with :
distribution : 'corretto'
java-version : '17'
- name : Grant execute permission for gradlew
run : chmod +x gradlew
- name : Create addon jar
run : ./gradlew build --full-stacktrace
- name : Upload Artifact
uses : actions/upload-artifact@v3
with :
name : Artifacts
path : build/libs/*-release.jar