Skip to content

Commit 81264d5

Browse files
authored
Merge pull request #74 from zonkyio/github-actions
Set up GitHub actions
2 parents 7e28f8a + 7f5e472 commit 81264d5

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

.github/workflows/gradle.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Java CI
2+
on: push
3+
jobs:
4+
build:
5+
name: Java ${{ matrix.java }}
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
java: [8]
10+
steps:
11+
- name: Checkout project
12+
uses: actions/checkout@v1
13+
- name: Set up JDK
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: ${{ matrix.java }}
17+
- name: Install language packs
18+
run: sudo apt-get install language-pack-cs
19+
- name: Cache Gradle repository
20+
uses: actions/cache@v1
21+
with:
22+
path: ~/.gradle/caches
23+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
24+
restore-keys: |
25+
${{ runner.os }}-gradle-
26+
- name: Build with Gradle
27+
run: ./gradlew build

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)