Skip to content

Commit

Permalink
ci: add windows build job
Browse files Browse the repository at this point in the history
  • Loading branch information
octocorvus committed Jul 24, 2023
1 parent cacd0d7 commit b81d297
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build application
on: [pull_request, push]

jobs:
build:
build-linux:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,3 +21,17 @@ jobs:
- run: npm ci --ignore-scripts
- 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
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17 # Build is broken with JDK 20
cache: gradle
- run: ./gradlew.bat build --no-daemon

0 comments on commit b81d297

Please sign in to comment.