Merge pull request #260 from ZoeWithTheE/master #592
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle | |
name: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
types: [ opened, labeled ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Oracle GraalVM for JDK 17 | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '17' | |
distribution: 'graalvm' | |
- name: Build with Gradle | |
run: ./gradlew shadowJar build -x test --no-daemon | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AutoPlug-Client | |
path: AP-TEST-SERVER/AutoPlug-Client.jar |