From 1d311284fd0dcf548b96f180be281b52850153a5 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Wed, 31 Mar 2021 16:53:10 -0300 Subject: [PATCH] GitHub workflow (#2163) --- .github/workflows/gradle.yml | 24 ++++++++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/gradle.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 000000000..62f401fb5 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,24 @@ +# This workflow will build a Java project with Gradle +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Build with Gradle + run: ./gradlew build + - uses: actions/upload-artifact@v2 + with: + name: artifact + path: build/libs diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dfd0a2c13..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -sudo: false - -language: java -jdk: - - openjdk11 - -cache: - directories: - - '$HOME/.m2/repository' - -script: -- mvn dependency:purge-local-repository -DactTransitively=false -DreResolve=false -- mvn clean install -B -U - -install: true