File tree 2 files changed +23
-19
lines changed
2 files changed +23
-19
lines changed Original file line number Diff line number Diff line change 1
- name : Dev CI
1
+ name : Master CI
2
2
3
3
on :
4
4
push :
9
9
build :
10
10
runs-on : [ubuntu-latest]
11
11
steps :
12
- - uses : actions/checkout@v1
13
- - name : Set up JDK 1.8
14
- uses : actions/setup-java@v1
15
- with :
16
- java-version : 1.8
17
- - name : Build with Gradle
18
- run : ./gradlew build
12
+ - uses : actions/checkout@v1
13
+ - name : Set up JDK 1.8
14
+ uses : actions/setup-java@v1
15
+ with :
16
+ java-version : 1.8
17
+ - name : Make gradlew executable
18
+ run : chmod +x ./gradlew
19
+ - name : Build with Gradle
20
+ run : ./gradlew build -x copyJar
19
21
devrelease :
20
22
runs-on : [ubuntu-latest]
21
23
needs : [build]
22
24
steps :
23
- - name : Dev Build Release
24
- uses : " marvinpinto/action-automatic-releases@latest"
25
- with :
26
- repo_token : " ${{ secrets.GITHUB_TOKEN }}"
27
- automatic_release_tag : " latest"
28
- prerelease : true
29
- title : " Dev Build"
30
- files : |
31
- *.jar
25
+ - name : Dev Build Release
26
+ uses : " marvinpinto/action-automatic-releases@latest"
27
+ with :
28
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
29
+ automatic_release_tag : " latest"
30
+ prerelease : false
31
+ title : " Dev Build"
32
+ files : |
33
+ NetworkClient/build/libs/*.jar
34
+ NetworkProxy/build/libs/*.jar
32
35
Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ jobs:
22
22
runs-on : [ubuntu-latest]
23
23
needs : [build]
24
24
steps :
25
- - name : Dev Build Release
25
+ - name : Release Build Release
26
26
uses : " marvinpinto/action-automatic-releases@latest"
27
27
with :
28
28
repo_token : " ${{ secrets.GITHUB_TOKEN }}"
29
29
automatic_release_tag : " latest"
30
30
prerelease : false
31
31
title : " Release Build"
32
32
files : |
33
- *.jar
33
+ NetworkClient/build/libs/*.jar
34
+ NetworkProxy/build/libs/*.jar
34
35
You can’t perform that action at this time.
0 commit comments