File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a Java project with Gradle
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
3
4
- name : Testing For PRs
4
+ # name: Testing For PRs
5
5
6
- on : [ pull_request ]
6
+ # on: [ pull_request ]
7
7
8
- jobs :
9
- test :
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v3
13
- - name : Set up JDK
14
- uses : actions/setup-java@v3
15
- with :
16
- java-version : 17
17
- distribution : temurin
18
- - name : Build with Gradle
19
- run : ./gradlew assemble check
8
+ # jobs:
9
+ # test:
10
+ # runs-on: ubuntu-latest
11
+ # steps:
12
+ # - uses: actions/checkout@v3
13
+ # - name: Set up JDK
14
+ # uses: actions/setup-java@v3
15
+ # with:
16
+ # java-version: 17
17
+ # distribution: temurin
18
+ # - name: Build with Gradle
19
+ #
Original file line number Diff line number Diff line change 22
22
- name : Set up JDK
23
23
uses : actions/setup-java@v3
24
24
with :
25
- java-version : 17
25
+ java-version : 11
26
26
distribution : temurin
27
27
- name : Release
28
28
run : ./gradlew githubRelease
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ jobs:
15
15
- name : Set up JDK
16
16
uses : actions/setup-java@v3
17
17
with :
18
- java-version : 17
18
+ java-version : 11
19
19
distribution : temurin
20
20
- name : Test with Gradle
21
21
run : ./gradlew assemble check
22
+
22
23
previewGithubRelease :
23
24
needs : test
24
25
runs-on : ubuntu-latest
29
30
- name : Set up JDK
30
31
uses : actions/setup-java@v3
31
32
with :
32
- java-version : 17
33
+ java-version : 11
33
34
distribution : temurin
34
35
- name : Test with Gradle
35
36
run : ./gradlew githubRelease
You can’t perform that action at this time.
0 commit comments