File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ # This workflow will build a Java project with Gradle
3+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
4+
5+ name : Java CI with Gradle
6+ on : [ push, pull_request ]
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ if : " !contains(github.event.commits[0].message, '[ci-skip]')"
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : gradle/wrapper-validation-action@v1
15+ - name : Set up JDK 8
16+ uses : actions/setup-java@v2
17+ with :
18+ distribution : temurin
19+ java-version : 8
20+ cache : gradle
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+ - name : Test with Gradle
24+ run : ./gradlew test
25+ - name : Build with Gradle
26+ run : ./gradlew build
27+ - name : Upload artifacts
28+ uses : " actions/upload-artifact@v2.2.3"
29+ with :
30+ name : " IridiumSkyblock"
31+ path : " build/libs/IridiumColorAPI-*.jar"
You can’t perform that action at this time.
0 commit comments