Skip to content

Commit

Permalink
Add gradle build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored and Zoinkwiz committed Sep 17, 2023
1 parent 169de63 commit 952d4d5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build with Gradle
on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.4 # https://github.com/runelite/plugin-hub/blob/master/package/gradle/wrapper/gradle-wrapper.properties

- name: Execute Gradle build
run: gradle build

0 comments on commit 952d4d5

Please sign in to comment.