Skip to content

Commit fdac0ff

Browse files
committed
split workflows
1 parent da8e949 commit fdac0ff

File tree

2 files changed

+35
-25
lines changed

2 files changed

+35
-25
lines changed

.github/workflows/gradle_test.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
workflow_dispatch:
66
push:
77
branches: [ "main" ]
8-
pull_request:
9-
branches: [ "main" ]
108

119
permissions:
1210
contents: read
@@ -46,26 +44,3 @@ jobs:
4644
run: ./gradle-kotlin-test.sh
4745
working-directory: egg__12_sc_junit
4846

49-
test-maven:
50-
runs-on: ubuntu-latest
51-
52-
steps:
53-
- name: get code
54-
uses: actions/checkout@v3
55-
56-
- name: Set up JDK 19
57-
uses: actions/setup-java@v3
58-
with:
59-
java-version: '19'
60-
distribution: 'adopt'
61-
62-
- name: Setup Maven Action
63-
64-
with:
65-
java-version: 19
66-
maven-version: 3.8.6
67-
68-
- name: run build script
69-
run: ./mvn-test.sh
70-
working-directory: egg__12_sc_junit
71-

.github/workflows/mvn_test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
name: Java test with Maven
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
test-maven:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: get code
18+
uses: actions/checkout@v3
19+
20+
- name: Set up JDK 19
21+
uses: actions/setup-java@v3
22+
with:
23+
java-version: '19'
24+
distribution: 'adopt'
25+
26+
- name: Setup Maven Action
27+
28+
with:
29+
java-version: 19
30+
maven-version: 3.8.6
31+
32+
- name: run build script
33+
run: ./mvn-test.sh
34+
working-directory: egg__12_sc_junit
35+

0 commit comments

Comments
 (0)