From 33db499a5d8883382612a8a8a143a611af24b20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nya=20=CE=9Elimu?= Date: Sun, 25 Sep 2022 10:38:05 +0300 Subject: [PATCH] Create gradle.yml --- .github/workflows/gradle.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..d9def3a --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,22 @@ +name: Gradle CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11 + - uses: gradle/gradle-build-action@v2 + - run: ./gradlew clean build