[Build] Migrate to GitHub actions
This commit is contained in:
1 parent
13b3836e47
commit
8ce671d444
2 files changed
+13
-16
No files matched your search
@@ -0,0 +1,13 @@
|
|||||||
|
name: CI Build
|
||||||
|
on: [ push, pull_request ]
|
||||||
|
jobs:
|
||||||
|
gradle:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 8
|
||||||
|
- uses: eskatos/gradle-command-action@v1
|
||||||
|
with:
|
||||||
|
arguments: build
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
language: java
|
|
||||||
os: linux
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- chmod +x gradlew
|
|
||||||
- chmod +x gradle/wrapper/gradle-wrapper.jar
|
|
||||||
|
|
||||||
before_cache:
|
|
||||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
||||||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.gradle/caches/
|
|
||||||
- $HOME/.gradle/wrapper/
|
|
||||||
Reference in new issue
Block a user