diff --git a/.github/workflows/.travis.yml b/.github/workflows/.travis.yml new file mode 100644 index 0000000..4de35a7 --- /dev/null +++ b/.github/workflows/.travis.yml @@ -0,0 +1,48 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +Language: | + + Java + + Mavin + +Ubuntu: 14.08 + + + + + + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: "* + + +# The jdk version is differently listed for linux you can find it by searching on github for VM actions. +defaults: | + + allow: failures "true" + + uses: actions/checkout@v1 + & name: Set up JDK 1.8 + - install: JDK 1_80 + - sudo apt-install JDK + - actions: setup-java@v1 + - actions: setup-java@v1.8 + - runs-on: + java-version: 1.8 + %task name% : Build with Maven + + + Terminal: | + + echo cd \ %home% + echo makedir \ A + echo cd \ A + echo apt-install git -y + + git clone https://FlashiiG@github.com/FlashiiG/libsuperuser.git + cd \ + Mavin: -B package -file pom.xml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index c8aeb3a..0000000 --- a/.github/workflows/maven.yml +++ /dev/null @@ -1,24 +0,0 @@ -# This workflow will build a Java project with Maven -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: Java CI with Maven - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - name: Build with Maven - run: mvn -B package --file pom.xml