Skip to content

Commit 1ead4ae

Browse files
authored
Add GitHub build action (#112)
1 parent 67fe42a commit 1ead4ae

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: r2-lcp-kotlin
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
pull_request:
7+
branches: [ develop ]
8+
9+
jobs:
10+
build:
11+
name: Build and test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Set up JDK 11
18+
uses: actions/setup-java@v2
19+
with:
20+
java-version: '11'
21+
distribution: 'adopt'
22+
- name: Build
23+
run: ./gradlew clean build -x test
24+
- name: Test
25+
run: ./gradlew test --continue

readium/lcp/r2-lcp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies {
4343
if (findProject(':r2-shared')) {
4444
implementation project(':r2-shared')
4545
} else {
46-
implementation "com.github.readium:r2-shared-kotlin:2.0.0"
46+
implementation "com.github.readium:r2-shared-kotlin:develop-SNAPSHOT"
4747
}
4848

4949

0 commit comments

Comments
 (0)