Skip to content

Commit 4e0450f

Browse files
committed
github actions build check
1 parent bb17e4c commit 4e0450f

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

‎.github/workflows/CI.yml‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
branches: [ master ]
66
pull_request:
7-
branches: [ master ]
7+
branches:
8+
- master
9+
- lecture*
810

911
jobs:
1012
build:
@@ -13,11 +15,13 @@ jobs:
1315
steps:
1416
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1517
- uses: actions/checkout@v2
18+
- uses: actions/setup-java@v1
19+
with:
20+
- java-version: '14.0.2'
1621

1722
- name: Run a one-line script
18-
run: echo Hello, world!
19-
20-
- name: Run a multi-line script
2123
run: |
22-
echo Add other actions to build,
23-
echo test, and deploy your project.
24+
cd lecture01
25+
./gradlew assemble
26+
./gradlew check
27+

0 commit comments

Comments
 (0)