From e5e7a38b774b7ae7fae8e0695f79e2e3741617ee Mon Sep 17 00:00:00 2001 From: octocorvus Date: Sat, 8 Jul 2023 14:24:55 +0000 Subject: [PATCH] ci: add windows build job --- .github/workflows/build.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea22e285..69761e6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build application on: [pull_request, push] jobs: - build: + build-linux: runs-on: ubuntu-latest steps: @@ -20,3 +20,21 @@ jobs: - name: Build with Gradle run: ./gradlew build --no-daemon + + build-windows: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: npm + - name: Set up JDK 20 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 20 + cache: gradle + + - name: Build with Gradle + run: ./gradlew.bat build --no-daemon