From 90d94702a245e5c1e48220c40330a3c3168451c6 Mon Sep 17 00:00:00 2001 From: Badbird-5907 <50347938+Badbird-5907@users.noreply.github.com> Date: Thu, 11 Aug 2022 21:27:46 -0400 Subject: [PATCH] gradle build --- .github/workflows/dev-analysis.yml | 34 +++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dev-analysis.yml b/.github/workflows/dev-analysis.yml index ac98a8f..6fefbac 100644 --- a/.github/workflows/dev-analysis.yml +++ b/.github/workflows/dev-analysis.yml @@ -36,16 +36,30 @@ jobs: with: languages: ${{ matrix.language }} - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 - - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.4 - if: success() - with: - name: TerminatorPlus - path: build/libs/ + gradle: + strategy: + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + + - name: Execute Gradle build + run: ./gradlew build + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2.2.4 + if: success() + with: + name: TerminatorPlus + path: build/libs/