From cd900314230472b2bcd3b32e02eeb62cffd0f5ec Mon Sep 17 00:00:00 2001 From: bourgesl Date: Thu, 28 Oct 2021 19:38:37 +0200 Subject: [PATCH] updated CI --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ .travis.yml | 6 ------ 2 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml 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 -