diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d22076d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + + - name: Build (Maven) + run: | + mvn verify + echo "That's All, folks !" + + - name: Upload + uses: actions/upload-artifact@v2 + with: + name: marlin-build + path: target/marlin-*.jar + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index badc5fe..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: java -sudo: false -script: "mvn verify" -jdk: - - openjdk9 -