From 8ee1eb2f6086a069be038372d04f76a471c20e33 Mon Sep 17 00:00:00 2001 From: Pazaz Date: Mon, 20 Jun 2022 12:49:38 -0400 Subject: [PATCH] Github Action workflow --- .github/workflows/gradle.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..fd8c9fc --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,30 @@ +name: Java CI with Gradle + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + - name: Build with Gradle + uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee + with: + arguments: build + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.0 + with: + name: rt4-client.jar + path: /client/build/libs/client-1.0.0.jar