🐛 Trying some things #147
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 | |
distribution: "adopt" | |
java-package: jdk | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle, using shadowJar | |
run: ./gradlew :BungeeSK:clean :BungeeSK:shadowJar --stacktrace | |
- name: Build with Gradle, using shadowJar 2 | |
run: ./gradlew :VelocitySK:clean :VelocitySK:shadowJar --stacktrace | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: Compile BungeeSK | |
path: build/libs/** |