Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/build-sanpshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ on:
- README.md

jobs:
windows-build-job:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 11 ('zulu')
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
- name: Build and test with Gradle
run: ./gradlew.bat clean build test
- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: test-report
path: build/reports/tests/test
overwrite: true
build-job:
uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ internal class ExactproMetaInf(
}

internal fun URL.toPath(): Path = when (protocol) {
"jar" -> URL(file).toPath() // the code below are added to provide windows compatibility
"jar" -> URL(file).toPath() // this code is added to provide windows compatibility
"file" -> Path.of(path)
else -> error("The '$protocol' protocol of '$this' URL can't be handled")
}
Expand Down