Skip to content

Commit

Permalink
Runs on windows (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
atraplet authored Apr 19, 2024
1 parent 998a700 commit c9b65bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Get JDK version from Maven project
shell: bash
run: |
JDK_VERSION=$(mvn help:evaluate -Dexpression=maven.compiler.source -q -DforceStdout)
echo "JDK_VERSION=$JDK_VERSION" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: atraplet/ecos4j-native/.github/workflows/build.yml@master

release:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: [ build ]
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c9b65bd

Please sign in to comment.