Skip to content

Commit 1cc8fc5

Browse files
authored
github actions build check (#1)
* github actions build check
1 parent bb17e4c commit 1cc8fc5

5 files changed

Lines changed: 306 additions & 8 deletions

File tree

‎.github/workflows/CI.yml‎

Lines changed: 12 additions & 8 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'
21+
- name: assemble
22+
run: ./gradlew assemble
23+
working-directory: ./lecture01
24+
- name: check
25+
run: ./gradlew check
26+
working-directory: ./lecture01
1627

17-
- name: Run a one-line script
18-
run: echo Hello, world!
19-
20-
- name: Run a multi-line script
21-
run: |
22-
echo Add other actions to build,
23-
echo test, and deploy your project.
57.5 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

‎lecture01/gradlew‎

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lecture01/gradlew.bat‎

Lines changed: 104 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)