🚀 What if I do that ? #150
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 8 | |
uses: actions/[email protected] | |
with: | |
java-version: 8 | |
distribution: "adopt" | |
java-package: jdk | |
- name: Set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
java-version: 11 | |
distribution: "adopt" | |
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/** |