File tree Expand file tree Collapse file tree 1 file changed +30
-9
lines changed
Expand file tree Collapse file tree 1 file changed +30
-9
lines changed Original file line number Diff line number Diff line change 1717# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1818jobs :
1919 # This workflow contains a single job called "Check"
20- Build_And_Unit_Test :
20+ Build :
2121 # The type of runner that the job will run on
2222 runs-on : ubuntu-latest
2323
@@ -35,21 +35,42 @@ jobs:
3535 distribution : zulu
3636
3737 # Runs a set of commands using the runners shell
38- - name : check unit test
39- run : |
40- ./gradlew check --scan
4138 - name : generateChangelog
4239 run : |
4340 ./gradlew generateChangelog
4441 cat ./doc/CHANGELOG.md
45-
46- - name : test build plugin
42+
43+ - name : build plugin
4744 run : ./gradlew buildPlugin
4845
49- - name : check library
50- run : ./gradlew build test -p library
51-
5246 - name : check createGithubReleaseNotes
5347 run : ./gradlew createGithubReleaseNotes
48+
49+ Unit_Test :
50+ # The type of runner that the job will run on
51+ runs-on : ubuntu-latest
52+
53+ # Steps represent a sequence of tasks that will be executed as part of the job
54+ steps :
55+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
56+ - uses : actions/checkout@v3
57+
58+ - name : Setup Java JDK
59+ uses : actions/setup-java@v3.1.1
60+ with :
61+ # The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README file
62+ java-version : 8
63+ # Java distribution. See the list of supported distributions in README file
64+ distribution : zulu
65+
66+ # Runs a set of commands using the runners shell
67+ - name : unit test
68+ run : |
69+ ./gradlew check --scan
70+
71+ - name : unit test in library
72+ run : ./gradlew build test -p library
73+
74+
5475
5576
You can’t perform that action at this time.
0 commit comments