🔥 Updated Java auto build with Gradle workflow #140
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
name: Java auto build with Gradle | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 1.8 | |
uses: actions/[email protected] | |
with: | |
java-version: 8 | |
java-package: jdk | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle, using shadowJar | |
run: ./gradlew clean shadowJar | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: Compile BungeeSK | |
path: build/libs/** |