Skip to content

Commit

Permalink
add win build
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenek-jonas committed Jul 30, 2024
1 parent c86864f commit 1a1eaae
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/maven_build_win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches:
- '**'
pull_request:
branches: [ main ]

jobs:
build:
runs-on: windows-latest
steps:
#Build with java 11
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -P examples -B package --file pom.xml -U

#Build with java 17
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -P examples -B package --file pom.xml -U

0 comments on commit 1a1eaae

Please sign in to comment.