File tree Expand file tree Collapse file tree 1 file changed +15
-22
lines changed
Expand file tree Collapse file tree 1 file changed +15
-22
lines changed Original file line number Diff line number Diff line change 1- # GitHub action to build and store artifact
1+ # This workflow will build a Java project with Gradle
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
23
3- name : Java CI
4+ name : Java CI with Gradle
45
56on : [push]
67
@@ -10,23 +11,15 @@ jobs:
1011 runs-on : ubuntu-latest
1112
1213 steps :
13- - uses : actions/checkout@master
14- - name : Set up JDK 1.8
15- uses : actions/setup-java@v1
16- with :
17- java-version : 1.8
18- - name : Cache Gradle
19- uses : actions/cache@v2
20- with :
21- path : |
22- ~/.gradle/caches
23- ~/.gradle/wrapper
24- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
25- restore-keys : ${{ runner.os }}-gradle
26- - name : Grant execute permission for gradlew
27- run : chmod +x gradlew
28- - name : Build with Gradle
29- run : ./gradlew build
30- - uses : actions/upload-artifact@master
31- with :
32- path : build/libs/skript-mirror-2.0.0-SNAPSHOT.jar
14+ - uses : actions/checkout@v2
15+ - name : Set up JDK 1.8
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.8
19+ - name : Grant execute permission for gradlew
20+ run : chmod +x gradlew
21+ - name : Build with Gradle
22+ run : ./gradlew build
23+ - uses : actions/upload-artifact@master
24+ with :
25+ path : build/libs/skript-mirror-2.0.0-SNAPSHOT.jar
You can’t perform that action at this time.
0 commit comments