mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-14 08:41:28 +00:00
Compare commits
2 Commits
1.19.0
...
ci/windows
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1f58ffb0e | ||
|
|
f21fae5b47 |
19
.github/workflows/win-exe.yml
vendored
19
.github/workflows/win-exe.yml
vendored
@@ -47,8 +47,8 @@ jobs:
|
||||
include:
|
||||
- arch: x64
|
||||
os: windows-latest
|
||||
java-dist: 'zulu' #cannot use temurin, see https://github.com/cryptomator/cryptomator/issues/3824#issuecomment-2829827427
|
||||
java-version: '25.0.2+10'
|
||||
java-dist: 'temurin' #cannot use temurin, see https://github.com/cryptomator/cryptomator/issues/3824#issuecomment-2829827427
|
||||
java-version: '25.0.2+10.0.LTS'
|
||||
java-package: 'jdk'
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
@@ -185,9 +185,18 @@ jobs:
|
||||
- name: Extract wixhelper.dll for Codesigning #see https://github.com/cryptomator/cryptomator/issues/3130
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -Path appdir/jpackage-jmod -ItemType Directory
|
||||
& $env:JAVA_HOME\bin\jmod.exe extract --dir jpackage-jmod "${env:JAVA_HOME}\jmods\jdk.jpackage.jmod"
|
||||
Get-ChildItem -Recurse -Path "jpackage-jmod" -File wixhelper.dll | Select-Object -Last 1 | Copy-Item -Destination "appdir"
|
||||
$extractDir = "appdir/jpackage-jimage"
|
||||
New-Item -Path $extractDir -ItemType Directory -Force | Out-Null
|
||||
|
||||
& "$env:JAVA_HOME\bin\jimage.exe" extract --dir $extractDir "$env:JAVA_HOME\lib\modules"
|
||||
|
||||
$wixhelper = Get-ChildItem -Path $extractDir -Recurse -File -Filter "wixhelper.dll" | Select-Object -First 1
|
||||
if (-not $wixhelper) {
|
||||
throw "wixhelper.dll not found in $env:JAVA_HOME\lib\modules"
|
||||
}
|
||||
|
||||
Copy-Item -Path $wixhelper.FullName -Destination "appdir/wixhelper.dll" -Force
|
||||
Remove-Item -Path $extractDir -Recurse -Force
|
||||
- name: Sign DLLs with Azure Trusted Signing
|
||||
if: inputs.sign || github.event_name == 'release'
|
||||
uses: ./.github/actions/win-sign-action
|
||||
|
||||
Reference in New Issue
Block a user