Repository navigation
Build installers for Windows ARM64 - #3825
Conversation
## Walkthrough
The GitHub Actions workflows `.github/workflows/win-exe.yml` and `.github/workflows/winget.yml` were updated. The Windows installer build workflow was changed to use matrix jobs supporting both `x64` and `arm64` architectures for `build-msi` and `build-exe` jobs, with architecture-specific runners and Java setup parameters. Artifact names, publish URLs, and upload steps were adjusted to include architecture suffixes. Four new antivirus allowlist jobs were added, each targeting a specific architecture and installer type with dependencies chained accordingly. The winget workflow was modified to restrict the MSI installer file pattern to only `-x64.msi` files. Minor formatting and comment adjustments were also applied.
## Possibly related issues
- cryptomator/cli#84: This PR implements matrix builds for both x64 and ARM64 Windows installers, fulfilling the ARM64 publishing requirements outlined in this issue.
## Possibly related PRs
- cryptomator/cryptomator#3817: Adds multiple architecture-specific allowlist jobs in the Windows installer workflow, related by antivirus whitelist CI components but focusing on different workflow files and job structures.
- cryptomator/cryptomator#3691: Updates OpenJFX JMODs URLs and checksums in the Windows GitHub Actions workflow, related by updating OpenJFX versions in the same workflow file.
## Suggested reviewers
- infeoThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
254-255: Ensure MSI signature filename matches renamed MSI
After renaming the MSI to include${{ matrix.arch }}, the detached GPG.ascwill still reference the old name. Consider renaming the.ascto match or generating the signature on the final filename:- mv installer/Cryptomator-*.msi Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.msi + mv installer/Cryptomator-*.msi Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.msi + mv installer/Cryptomator-*.msi.asc Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.msi.asc
360-360: Ensure EXE signature filename matches renamed EXE
After moving the EXE to include${{ matrix.arch }}, the GPG signature file will still use the old name. Apply a similar rename for the.ascor sign the final filename directly:- mv installer/Cryptomator-Installer.exe Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.exe + mv installer/Cryptomator-Installer.exe Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.exe + mv installer/Cryptomator-Installer.exe.asc Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.exe.asc
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
dist/win/build.ps1is excluded by!**/dist/**
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(11 hunks)
🔇 Additional comments (17)
.github/workflows/win-exe.yml (17)
35-39: Ensure ARM64 runner availability
The dynamicruns-onexpression uses the labelwindows-11-armformatrix.arch == 'arm64'. Please verify that you have a self‑hosted runner registered under this label to handle ARM64 builds; otherwise, those jobs will fail immediately.
58-60: Conditional JavaFX jmods download
The step is correctly guarded byif: matrix.arch == 'x64', preventing execution on ARM64 runners. This aligns with your current jmods setup.
62-67: Checksum verification & extraction logic
The PowerShell snippet usesGet-FileHashwith a.ToLower()comparison and moves.jmodfiles up one directory—this is a solid, robust approach.
69-70: JavaFX version consistency check
Conditionally validating that the JavaFX major version in your POM matches the downloaded jmod archive only on x64 builds is correct.
83-83: Set Maven project version
Runningmvn versions:set -DnewVersion=${{ needs.get-version.outputs.semVerStr }}here ensures your artifacts use the correct release version.
92-98: Dynamicjlinkmodule path setup
The conditional assignment of$modulePathbased on${{ matrix.arch }}correctly includes JFX jmods only for x64. Pair this with the ARM64 jmods download you’ll add per the earlier comment.
266-266: Artifact naming for MSI
Uploading the MSI undername: msi-${{ matrix.arch }}clearly separates architectures and aligns with downstream download logic.
346-349: Reattach signed burn engine
Theinsigniainvocation to detach and then reattach the signed burn engine is correct and preserves the signed executable.
371-371: Artifact naming for EXE
Uploading the EXE undername: exe-${{ matrix.arch }}clearly separates architectures.
383-386: Publish job multi-arch outputs
Defining separate outputs (download-url-msi-x64,download-url-msi-arm64,download-url-exe-x64,download-url-exe-arm64) aligns cleanly with the matrix builds and downstream allowlisting.
392-392: Merge artifacts before release
Addingmerge-multiple: trueensures all architecture artifacts are available to the release job.
403-417: Parsing download URLs by architecture
Thejqfilters correctly extractbrowser_download_urlentries for each suffixed package name. This logic will yield the four required URLs formsi-x64/arm64andexe-x64/arm64.
422-423: MSI x64 allowlist job
Theallowlist-msi-x64job correctly consumes thedownload-url-msi-x64output.
429-430: MSI arm64 allowlist job
Theallowlist-msi-arm64job correctly consumes thedownload-url-msi-arm64output.
434-436: EXE x64 allowlist job
Theallowlist-exe-x64job’sneedsand URL input are configured properly.
441-443: EXE arm64 allowlist job
Theallowlist-exe-arm64job’sneedsand URL input are configured properly.
460-461: Slack notification for multi-arch
UpdatingSLACK_TITLEandSLACK_MESSAGEto reference MSI packages in plural aligns with supporting both x64 and ARM64.
There was a problem hiding this comment.
Actionable comments posted: 3
♻️ Duplicate comments (2)
.github/workflows/win-exe.yml (2)
58-58: Mirror JavaFX jmods download for ARM64
The download step is gated toif: matrix.arch == 'x64'. Once you declare ARM64 jmods URLs, add a parallel block or anelse ifformatrix.arch == 'arm64'to fetch the ARM64 jmods artifact as well.
69-69: Ensure JavaFX version check covers ARM64
The major-version validation is also gated to x64. Once ARM64 jmods are introduced, duplicate or parameterize this block for the ARM64 jmod file to catch mismatches there as well.
🧹 Nitpick comments (3)
.github/workflows/win-exe.yml (3)
62-62: Use PowerShell-native comparison operator
You’re using.equals(...)for string comparison in PowerShell. For improved readability and idiomatic style, consider:if ((Get-FileHash jfxjmods.zip -Algorithm SHA256).Hash.ToLower() -ne "${{ env.OPENJFX_JMODS_AMD64_HASH }}") { … }
66-66: Flatten archive in-place to simplify extraction
TheMove-Itemrecursion assumes exactly one nested level. You could simplify by usingExpand-Archive -Force -DestinationPath .\jfxjmods\and then flatten in one go, or use-Recurseplus-Forcedirectly.
460-461: Generalize Slack notification message
TheSLACK_TITLEstill mentions only “MSI packages published.” Since you now publish both MSI and EXE per architecture, consider updating this to a more generic message (e.g., “Windows installers for x64 & ARM64 published”).
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(10 hunks)
🔇 Additional comments (12)
.github/workflows/win-exe.yml (12)
83-83: Set Maven project version using matrix output
This step correctly applies the version fromget-version. No changes needed here.
254-255: Suffix MSI installer with version and architecture
Renaming the output MSI to include${{ needs.get-version.outputs.semVerStr }}andmatrix.archlooks good and consistent with EXE naming.
274-278: Matrix definition ordering inbuild-exe
You’ve mirrored the dynamicruns-onselection and matrix forbuild-exe, which is great. Ensure thestrategy.matrixblock is recognized beforeruns-onevaluation. If you encounter context errors, movestrategy:aboveruns-on:.Please verify that the job executes successfully under both architectures.
346-349: Reattach signed burn engine
Usinginsignia.exeto reattach the signed engine is correct and mirrors best practice for WiX bundles.
360-360: Suffix EXE installer with version and architecture
Renaming the EXE to includesemVerStrandmatrix.archis consistent and clear.
371-371: Upload per-arch EXE artifacts
Usingname: exe-${{ matrix.arch }}ensures artifacts are distinguishable by architecture. Nice symmetry with MSI artifacts.
381-386: Expose download URLs for each arch inpublishjob outputs
Defining separate outputs (download-url-msi-x64,download-url-msi-arm64, etc.) is exactly what's needed for downstream allowlist jobs.
392-392: Confirm artifact merging fordownload-artifact
You’ve enabledmerge-multiple: trueto pull in all MSI and EXE artifacts at once. Please double‑check that this behaves as expected (it aggregates by name) so thatsoftprops/action-gh-releasepicks up the correct files.
418-418: Invoke antivirus allowlist for MSI x64
Addingallowlist-msi-x64with proper dependency onpublishplugs into your AV whitelist flow as intended.
425-425: Invoke antivirus allowlist for MSI ARM64
Mirrors the x64 allowlist. Good.
432-432: Invoke antivirus allowlist for EXE x64
Chainingallowlist-exe-x64after bothpublishandallowlist-msi-x64ensures the correct ordering.
439-439: Invoke antivirus allowlist for EXE ARM64
Chainingallowlist-exe-arm64afterallowlist-msi-arm64maintains consistency.
|
While this is nice, don't we need a openjfx arm64 release before publishing for arm64? |
|
Nevertheless this has to be answered more solidly. Edit: the build.bat/build.ps1 on x64 uses the openjfx x64 release, whereas the build.bat/build.ps1 on arm64 uses the JavaFX modules contained in the locally installed JDK on the machine, the script is running on. For the GitHub workflow that depends on what variant of a JDK 23 will be available in the runner-images and works with code signing (#3824), that runs on arm64 as well and whether that contains the JavaFX modules or not. |
There was a problem hiding this comment.
Actionable comments posted: 2
♻️ Duplicate comments (1)
.github/workflows/win-exe.yml (1)
61-65: Guard JavaFX jmods download step by architecture
The checksum validation andExpand-Archivecommands run unconditionally, targeting only AMD64 jmods. Wrap this entire block in anif: matrix.arch == 'x64'or parameterize it to use ARM64 variables, as noted above.
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
375-378: Improve asset URL mapping inpublishoutputs
Index-based asset references ([0],[1], etc.) are brittle if upload order changes. Consider filtering by asset name suffix:download-url-msi-x64: ${{ fromJSON(steps.publish.outputs.assets).[] | select(.name.endsWith('-x64.msi')).browser_download_url }}
439-440: Enhance Slack notification to reflect both installers
The Slack title currently mentions only "MSI packages". Since EXE installers are also produced, consider updating to "Windows installers ... published." to accurately reflect both.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(11 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🔇 Additional comments (14)
.github/workflows/win-exe.yml (14)
18-18: Validate Java distribution 'temurin' for ARM64 JavaFX support
Ensure that the Temurin JDK on thewindows-11-armrunner includes JavaFX modules—otherwise ARM64 builds will fail at thejlinkstep.Please verify via a test on an ARM64 runner that
java --list-modulesincludesjavafx.*, or document that ARM64 JavaFX modules are provided by this distribution.
35-39: Matrix strategy and dynamic runner forbuild-msi
Using a matrix overarch: [x64, arm64]with conditionalruns-onmapping (windows-latestvs.windows-11-arm) correctly enables cross-architecture builds on the appropriate GitHub-hosted runners.
81-81: Approve version setting step
Usingmvn versions:set -DnewVersion=${{ needs.get-version.outputs.semVerStr }}aligns the Maven project version with your GitHub input.
247-248: Include architecture in MSI filename
Renaming the MSI to include${{ matrix.arch }}(Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.msi) is a clear and necessary change for distinguishing builds.
258-258: Approve MSI artifact naming
Settingname: msi-${{ matrix.arch }}for the uploaded artifact matches the file rename and aids in downstream download.
266-266: Dynamic runner forbuild-exe
Your conditionalruns-onmapping forbuild-execorrectly mirrors thebuild-msilogic, enabling ARM64 jobs on the proper runner.
267-267: Approvebuild-exedependencies
Requiringget-versionandbuild-msiensures the EXE build has both versioning context and the MSI artifact, which is correct.
269-270: Matrix strategy forbuild-exe
Thearch: [x64, arm64]matrix inbuild-exemaintains consistency withbuild-msi, facilitating parallel builds for both architectures.
352-352: Verify EXE filename suffix consistency
You rename the EXE to include${{ matrix.arch }}(Cryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}.exe). Confirm this matches the upload patterns in the publish step.
363-363: Approve EXE artifact naming
Naming the upload artifactexe-${{ matrix.arch }}aligns with the file rename and helps users distinguish architecture-specific executables.
397-402: Approve x64 MSI allowlist job
Theallowlist-msi-x64job correctly consumes the published MSI URL and inherits secrets.
404-409: Approve ARM64 MSI allowlist job
Theallowlist-msi-arm64job mirrors the x64 configuration, ensuring both installers are allowlisted.
411-416: Approve x64 EXE allowlist sequence
Chainingallowlist-exe-x64afterallowlist-msi-x64andpublishguarantees dependencies are satisfied.
418-423: Approve ARM64 EXE allowlist sequence
Theallowlist-exe-arm64job correctly depends onallowlist-msi-arm64, maintaining symmetry with the x64 path.
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (2)
.github/workflows/win-exe.yml (2)
43-44:⚠️ Potential issueMissing ARM64 JavaFX jmods configuration
You only declareOPENJFX_JMODS_AMD64and its hash. ARM64 builds will still attempt to download the x64 bundle and fail at runtime.Define analogous variables for ARM64, e.g.:
env: OPENJFX_JMODS_AMD64: 'https://..._windows-x64_bin-jmods.zip' OPENJFX_JMODS_AMD64_HASH: 'ee176d...' + OPENJFX_JMODS_ARM64: 'https://..._windows-aarch64_bin-jmods.zip' + OPENJFX_JMODS_ARM64_HASH: '<arm64-sha256-hash>'Then parameterize download logic based on
${{ matrix.arch }}(see next comment).
61-65:⚠️ Potential issueConditional download/unpack logic for ARM64
The download step unconditionally usesOPENJFX_JMODS_AMD64. ARM64 runners will fetch the wrong artifact.Refactor this block to pick the correct URL and hash per architecture:
-run: | - curl --output jfxjmods.zip -L "${{ env.OPENJFX_JMODS_AMD64 }}" - if (!(Get-FileHash -Path jfxjmods.zip -Algorithm SHA256).Hash.ToLower().equals("${{ env.OPENJFX_JMODS_AMD64_HASH }}")) { - throw "Wrong checksum of JMOD archive downloaded from ${{ env.OPENJFX_JMODS_AMD64 }}."; - } +run: | + URL_VAR=OPENJFX_JMODS_${{ matrix.arch == 'x64' && 'AMD64' || 'ARM64' }} + HASH_VAR=OPENJFX_JMODS_${{ matrix.arch == 'x64' && 'AMD64_HASH' || 'ARM64_HASH' }} + curl --output jfxjmods.zip -L "${{ env[$URL_VAR] }}" + if (!(Get-FileHash jfxjmods.zip -Algorithm SHA256).Hash.ToLower().equals("${{ env[$HASH_VAR] }}")) { + throw "Checksum mismatch for JMOD archive downloaded from ${{ env[$URL_VAR] }}." + } Expand-Archive -Path jfxjmods.zip -DestinationPath jfxjmods Get-ChildItem -Path jfxjmods -Recurse -Filter "*.jmod" | ForEach-Object { Move-Item -Path $_ -Destination $_.Directory.Parent }This ensures correct bundles on both ARM64 and x64.
🧹 Nitpick comments (1)
.github/workflows/win-exe.yml (1)
439-442: Suggest updating Slack notification message
The Slack title and message still reference only “MSI packages”. Since you now publish both MSI and EXE per arch, consider updating it to “Installers” or listing both MSI/EXE.Example:
SLACK_TITLE: "Installers for ${{ github.event.repository.name }} ${{ github.event.release.tag_name }} published."
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(11 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🔇 Additional comments (15)
.github/workflows/win-exe.yml (15)
18-18: Verify Temurin distribution supports ARM64 JavaFX modules
You’ve switchedJAVA_DISTfrom Zulu to Temurin. Make sure the Temurin builds you’re installing on the ARM64 runner include the JavaFX modules you need (some distributions bundle JavaFX differently).Please confirm that
actions/setup-java@v4withdistribution: 'temurin'and your specifiedJAVA_VERSIONfetches a JDK with JavaFX jmods on bothx64andarm64.
35-39: Approve matrix build with dynamic runners
Thebuild-msijob correctly employs a matrix overarch: [ x64, arm64 ]and dynamically selectsruns-on(windows-latestvs.windows-11-arm) per architecture. This aligns with our ARM64 CI strategy and leverages the new GitHub-hosted runner.
81-81: Approve version-setting step
The Mavenversions:setinvocation using${{ needs.get-version.outputs.semVerStr }}is correct and keeps the POM version in sync with your workflow inputs.
89-89: Skip: informational comment formatting
The “Remark: no compression is applied here” line is purely informational. No action needed unless you plan to revisit compression strategies.
246-247: Approve MSI renaming with arch suffix
RenamingCryptomator-*.msito include-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.arch }}ensures your artifacts are unambiguous.
258-258: Approve MSI artifact naming
Uploading withname: msi-${{ matrix.arch }}clearly distinguishes x64 vs. arm64 in the artifact store.
266-270: Approve build-exe job matrix and runners
The.exejob mirrorsbuild-msiby using the same matrix overarchand dynamicruns-onselection withwindows-11-arm. Dependencies (needs) are correctly chained.
338-342: Approve reattaching signed Burn engine
Theinsigniainvocation now reattaches the signed engine into the MSI stub correctly. The heredoc syntax is clear and functional.
352-352: Approve EXE renaming with arch suffix
Consistent with the MSI step, renaming the EXE to include${{ matrix.arch }}is correct.
363-363: Approve EXE artifact naming
Usingname: exe-${{ matrix.arch }}aligns with your MSI artifact conventions.
373-379: Validate asset indexing for release outputs
You rely on static indices ([0],[1],[2],[3]) to mapbrowser_download_urlto each asset. This is brittle if the asset order changes.Consider filtering by asset name in the JSON to ensure the correct URL is picked, e.g., with
jq. Let me know if you’d like an example.
397-402: Approve allowlist-msi-x64 job
The ARM64 and x64 MSI allowlisting jobs correctly consume the URLs and chain dependencies.
404-409: Approve allowlist-msi-arm64 job
Same for the ARM64 MSI. Good separation of concerns.
411-417: Approve allowlist-exe-x64 job
Properly sequences afterallowlist-msi-x64, ensuring both MSI and EXE are whitelisted in order.
418-423: Approve allowlist-exe-arm64 job
Correct chaining afterallowlist-msi-arm64.
There was a problem hiding this comment.
Actionable comments posted: 3
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(11 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🔇 Additional comments (17)
.github/workflows/win-exe.yml (17)
18-19: Switched Java distribution to Temurin
Using the AdoptOpenJDK-derived Temurin distribution is a solid choice for up-to-date Java support across platforms.
35-39: Dynamic matrix and runner selection for MSI build
The addition of a matrix overx64/arm64and dynamicruns-onexpression aligns the build environments correctly.
81-82: Inject build version via Maven
The newmvn versions:setstep ensures consistent versioning in the artifacts. Looks good.
89-89: Inline remark on compression
This is just a comment specifying no compression to improve MSI build size; no action needed.
247-248: Append version and architecture to MSI filename
Renaming the.msito include${{ needs.get-version.outputs.semVerStr }}and${{ matrix.arch }}ensures unique artifact names per arch.
266-271: Dynamic matrix and runner for EXE build
Mirroring the MSI job’s matrix for EXE and using the same dynamicruns-onexpression correctly targets both architectures.
338-338: Reattach signed burn engine run step
This line only adjusts formatting for the PowerShellinsigniacommand; it doesn’t introduce an issue.
352-352: Append version and arch to EXE filename
Including version and architecture in the.exename matches the MSI behavior and avoids overwrites during parallel builds.
363-363: Upload EXE artifact per architecture
Usingname: exe-${{ matrix.arch }}aligns with the MSI artifact naming, ensuring artifacts are correctly separated by arch.
373-373: Publish job now depends on both MSI and EXE
Ensuring thepublishjob waits for both installer types is essential for complete releases.
384-384: Merged installer artifacts for publish
Usingmerge-multiple: trueonactions/download-artifactsimplifies gathering all MSI/EXE artifacts before releasing.
391-394: Correct file globs for release
Listing*-x64.msi,*-arm64.msi,*-x64.exe, and*-arm64.exeensures all platform-specific assets are published.
397-402: Allowlisting MSI (x64) AV workflow
Newallowlist-msi-x64job correctly calls the AV whitelist workflow with thedownload-url-msi-x64output.
404-409: Allowlisting MSI (ARM64) AV workflow
Theallowlist-msi-arm64job mirrors the x64 allowlist and correctly usesdownload-url-msi-arm64.
411-416: Allowlisting EXE (x64) AV workflow
Chainingallowlist-exe-x64after MSI allowlisting is logical. Good dependency and URL usage.
418-423: Allowlisting EXE (ARM64) AV workflow
Properly sequences after the ARM64 MSI allowlist and pullsdownload-url-exe-arm64.
439-443: Slack notification for winget-ready
Updating the Slack title, message, and enablingMSG_MINIMALtailors the notification.
| download-url-msi-x64: ${{ fromJSON(steps.publish.outputs.assets)[0].browser_download_url }} | ||
| download-url-msi-arm64: ${{ fromJSON(steps.publish.outputs.assets)[1].browser_download_url }} | ||
| download-url-exe-x64: ${{ fromJSON(steps.publish.outputs.assets)[2].browser_download_url }} | ||
| download-url-exe-arm64: ${{ fromJSON(steps.publish.outputs.assets)[3].browser_download_url }} |
There was a problem hiding this comment.
Fragile indexing of release assets
Relying on fixed array indices ([0], [1], [2], [3]) from action-gh-release may break if asset ordering changes.
Consider using jq to filter steps.publish.outputs.assets by name (e.g., endswith -x64.msi), so each URL is looked up deterministically.
There was a problem hiding this comment.
Based on the documentation, this should work.
There was a problem hiding this comment.
@purejava Thanks for sharing the documentation link. While the GitHub API does return assets, it doesn't explicitly guarantee that the order of assets will match the order specified in the files section of your workflow.
A more robust approach would be to filter assets by name pattern instead of relying on array indices. For example:
download-url-msi-x64: ${{ fromJson(steps.publish.outputs.assets) | map(select(.name | endswith("-x64.msi"))) | .[0].browser_download_url }}Or using jq if more complex filtering is needed:
download-url-msi-x64: ${{ steps.filter_assets.outputs.msi_x64_url }}
# With a step like:
- name: Filter assets
id: filter_assets
run: |
echo "msi_x64_url=$(echo '${{ steps.publish.outputs.assets }}' | jq -r '.[] | select(.name | endswith("-x64.msi")) | .browser_download_url')" >> $GITHUB_OUTPUTThis would make your workflow more resilient to potential changes in upload order or unexpected file matching patterns. Would you like me to help with implementing this approach?
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (2)
.github/workflows/win-exe.yml (2)
35-39: Matrix strategy and dynamic runner selection look correct
You’ve convertedbuild-msito a matrix overarch: [x64, arm64]and dynamically pickruns-on(windows-latestvswindows-11-arm). This matches previous feedback and ensures ARM64 builds land on an ARM64 runner.
275-280: Dynamic runner applied to.exebuild
Just likebuild-msi, thebuild-exejob now uses a matrix and conditionally setsruns-on. This addresses the prior gap where EXE builds were fixed to an x64 runner.
🧹 Nitpick comments (4)
.github/workflows/win-exe.yml (4)
78-86: Major JavaFX version consistency check
You extract the major version fromjmod describeandpom.xml, then error out on mismatch. For robustness, consider quoting your variables in theiftest, e.g.:if [ "$POM_JFX_VERSION" -ne "$JMOD_VERSION_ARCHITECTURE" ]; thento avoid syntax errors if either variable is empty.
347-350: Reattach signed Burn engine
Your use ofinsignia.exe -abto reinsert the signed engine is correct. Confirm thattmp/engine.exeis cleaned up or overwritten on subsequent runs to avoid stale binaries.
384-387: Release asset output indexing is brittle
Relying on fixed indices ([0]…[3]) fromsteps.publish.outputs.assetscan break if asset ordering changes. Consider filtering by asset name, e.g.:download-url-msi-x64: ${{ fromJSON(steps.publish.outputs.assets) | fromEntries | .["Cryptomator-${{ needs.get-version.outputs.semVerStr }}-x64.msi"].browser_download_url }}or use
jqto select assets byname.
448-452: Slack notification updated for multiple packages
YourSLACK_TITLE,SLACK_MESSAGE, andMSG_MINIMAL: truenow reflect the multi-architecture build. Confirm thatrtCamp/action-slack-notify@v2supportsMSG_MINIMAL; otherwise, remove or adjust according to the action’s docs.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(10 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🔇 Additional comments (16)
.github/workflows/win-exe.yml (16)
17-22: Verify Temurin Java distribution compatibility
You’ve switchedJAVA_DISTfrom Zulu to Temurin (Adoptium), which is supported byactions/setup-java@v4. Please confirm that Temurin 23.0.2+7 on both x64 andwindows-11-armrunners includes the required JavaFX modules, or that your fallback to the Liberica full JDK on ARM64 covers all JavaFX dependencies.
43-47: ARM64 JavaFX fallback defined
You supply bothOPENJFX_JMODS_AMD64+ hash andLIBERICA_FULLJDK_ARM64+ hash. This addresses earlier missing ARM64 jmods. Ensure the Liberica package indeed contains the JavaFX jmods, as expected.
62-71: Conditional download of JMOD archives is correct
Your inline PowerShell checksmatrix.archto pull either the x64 jmods or the ARM64 full JDK, then verifies the SHA-256 checksum. This ensures each architecture fetches the appropriate archive.
74-74: Flattening of jmod directories
Moving.jmodfiles up one level after extraction is necessary because Gluon’s zip wraps them in a nested folder. This one-liner is effective.
90-90: Version set step updated
You now apply the semantic version fromget-versiondirectly via Maven’sversions:setplugin. This aligns the build artifacts with the release tag.
98-98: Doc comment retained
The remark aboutzip-0compression is important for downstream MSI size improvements. No changes needed here.
255-256: Include architecture in MSI filename
Renaming the MSI to include${{ matrix.arch }}and optional alpha/beta tags guarantees uniqueness across architectures. This matches your artifact naming strategy.
267-267: Artifact upload naming
Usingname: msi-${{ matrix.arch }}for the MSI artifacts ensures they’re scoped per architecture in GitHub Actions. Good consistency.
361-361: Include architecture in EXE filename
Renaming the installer toCryptomator-${{ version }}-${{ matrix.arch }}.exematches your MSI naming. This consistency is important for downstream steps.
372-372: Artifact upload naming for EXE
Definingname: exe-${{ matrix.arch }}pairs nicely with the MSI naming. No changes needed.
382-382: Publish job dependencies updated
Thepublishjob now needs bothbuild-msiandbuild-exe, which is correct to ensure all artifacts exist before uploading.
400-403: File globs cover all installer variants
You updated thefiles:list to include*-x64.msi,*-arm64.msi,*-x64.exe, and*-arm64.exe. This ensures every architecture/type pair is uploaded.
406-410: ARM64 MSI allowlist job
Theallowlist-msi-x64job correctly chains offpublishand pulls the URL fromdownload-url-msi-x64. Good separation of concerns.
413-417: ARM64 MSI allowlist job defined
allowlist-msi-arm64mirrors the x64 variant, ensuring ARM64 installers also hit the AV whitelist workflow.
420-424: Exe allowlist chaining
Chainingallowlist-exe-x64after bothpublishandallowlist-msi-x64guarantees that the MSI is already allowlisted before the EXE. Logical dependency chain.
427-431: ARM64 EXE allowlist chaining
Likewise,allowlist-exe-arm64depends onpublishandallowlist-msi-arm64, preserving order.
There is The Windows runners for The workflow works and completes and was tested as far as possible without the specific secret needed to publish a release: Link to the action run seen in the screenshot above: https://github.com/purejava/cryptomator/actions/runs/14952582067/job/42004124337 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
292-303: DRY WiX_Path across all WiX steps
TheWiX_Pathenvironment variable is declared repeatedly in multiple steps. Consider moving it to the job-levelenv:block for bothbuild-exeandbuild-msito reduce duplication and simplify maintenance.Also applies to: 306-318, 332-335
368-371: Map published assets to outputs by index
The outputs correctly grab the 4 artifacts in the new order. For increased resilience, you might later switch to filtering by asset name (e.g., viajqorfromJSON(...)\|map(select(.name|endswith(...)))) instead of fixed indices.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(12 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🔇 Additional comments (14)
.github/workflows/win-exe.yml (14)
18-20: Switch to Liberica JDK+FX with JavaFX support
Good use of the Liberica distribution and thejdk+fxpackage to bundle JavaFX modules, eliminating the previous manual jmods download step.
36-40: Enable matrix build for x64 and ARM64
Thebuild-msijob correctly adopts a matrix strategy and dynamically selectsruns-onbased on architecture, ensuring native execution on ARM64 runners.
46-47: Conditional WiX upgrade for ARM64
Installing WiX only on ARM64 runners addresses the missing default onwindows-11-arm, keeping x64 runners lean.
56-56: Specify Java package for JDK+FX
Includingjava-package: ${{ env.JAVA_PACKAGE }}ensures the setup-java action installs the correct JDK variant with JavaFX modules.
73-73: Use bundled JDK jmods path
Switching--module-pathto${JAVA_HOME}/jmodsrelies on the JDK’s built-in modules. Please verify that the specified Liberica JDK+FX version indeed includes all required JavaFX jmods under this path.
225-226: Include architecture suffix in MSI filename
Renaming the MSI to include both version and${{ matrix.arch }}makes the artifacts unambiguous and aligns with the upload naming conventions.
245-249: Matrix build for .exe installer
Thebuild-exejob mirrors the MSI workflow with a matrix strategy and dynamic runner selection—consistent and correct.
251-255: Conditional WiX upgrade in .exe workflow
Upgrading WiX only on ARM64 in the EXE build maintains symmetry with the MSI job and prevents unnecessary installations on x64.
345-345: Include architecture suffix in EXE filename
Renaming the EXE similarly to the MSI ensures consistency in artifact naming and easier downstream consumption.
356-356: Upload .exe artifacts with architecture suffix
Uploading theexe-${{ matrix.arch }}artifact correctly tags the EXE builds by architecture for later steps.
366-366: Publish job depends on both build jobs
Adding bothbuild-msiandbuild-exeas dependencies guarantees all installers are ready before the publish step runs.
384-388: Publish assets with architecture-specific globs
Thefiles:patterns now include both-x64and-arm64for MSI and EXE, ensuring all artifacts (and their signatures) are uploaded.
390-396: Antivirus allowlisting workflows per architecture and installer type
Splitting the allowlist jobs (msi-x64,msi-arm64,exe-x64,exe-arm64) with properneedschains ensures each artifact is processed in order. Configuration looks correct.Also applies to: 397-403, 404-410, 411-416
432-433: Update Slack notification for winget release
The SlackSLACK_TITLEandSLACK_MESSAGEnow reference MSI packages (plural) and useMSG_MINIMAL, reflecting the new multi-arch scenario.Also applies to: 436-436
| strategy: | ||
| matrix: | ||
| arch: [ x64, arm64 ] | ||
| runs-on: ${{ matrix.arch == 'x64' && 'windows-latest' || 'windows-11-arm' }} |
There was a problem hiding this comment.
Avoid these kinds of conditional statements (in other places as well). Rather define more matrix params.
For example, see lines 28ff in https://github.com/cryptomator/cryptomator/blob/develop/.github/workflows/appimage.yml
There was a problem hiding this comment.
Thanks for the quick review @overheadhunter. I made the adjustments, but introduced a bug:
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
I suspect, that coderabbit points to the solution (see next comment), but need to look into it.
There was a problem hiding this comment.
So, the matrix setup is fixed, and this PR is ready for a further review @overheadhunter.
The action run for testing purposes can be found here:
https://github.com/purejava/cryptomator/actions/runs/15001569529
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
306-307: Factor out repeatedWiX_Pathenvironment definitions
Multiple steps redefineenv: WiX_Path: 'C:/Program Files (x86)/WiX Toolset v3.14/'. Consider moving this to the job-levelenv:block to reduce duplication:jobs: build-exe: + env: + WiX_Path: 'C:/Program Files (x86)/WiX Toolset v3.14/' steps: - name: Compile to wixObj file - env: - WiX_Path: 'C:/Program Files (x86)/WiX Toolset v3.14/'Also applies to: 315-316, 321-322, 337-338
372-375: Make release output retrieval more robust
Relying on fixed indices when accessingsteps.publish.outputs.assetscan break if the upload order changes. Consider filtering by asset name:download-url-msi-x64: ${{ fromJson(steps.publish.outputs.assets) | fromJson | map(select(.name | endswith('-x64.msi'))) | first | .browser_download_url }}
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(12 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.4)
.github/workflows/win-exe.yml
44-44: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
255-255: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
264-264: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
349-349: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
360-360: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
🔇 Additional comments (14)
.github/workflows/win-exe.yml (14)
18-20: Use consistent Java distribution variables
The new environment variablesJAVA_DIST,JAVA_VERSION, andJAVA_PACKAGEclearly parameterize the JDK setup and ensure both MSI and EXE jobs use Liberica with JavaFX. This enhances maintainability by centralizing JDK configuration.
59-59: Ensurejava-packageinput is supported
You’ve addedjava-package: ${{ env.JAVA_PACKAGE }}to thesetup-javastep. Actionactions/setup-java@v4supports this new input, so this is correctly configured.
63-63: Dynamic version injection is correct
Usingmvn versions:set -DnewVersion=${{ needs.get-version.outputs.semVerStr }}aligns the project POM with the release tag. Good use of theget-versionoutput.
76-76: Simplified JavaFX jmods handling works with Liberica JDK
Relying on${JAVA_HOME}/jmodsand removing the explicit download step is valid since Liberica JDK with JavaFX includes the necessary modules.
228-230: Installer renaming includes architecture suffix
Renaming the MSI file to include both version and${{ matrix.executable-suffix }}ensures clear artifact naming for x64 and ARM64.
248-249: Dynamic runner selection for EXE builds
Mirroring the MSI job, the EXE job now usesruns-on: ${{ matrix.os }}to pick the correct Windows runner per architecture. This resolves the previous ARM64 runner mismatch.
257-259: Explicit WiX Toolset installation
Adding a dedicated stepchoco install wixtoolset --version 3.14.1on both MSI and EXE jobs ensures the required WiX version is available on the ARM64 runner.
264-265: Artifact download path matches upload name
Usingname: msi-${{ matrix.executable-suffix }}and targeting it to thedist/win/bundle/resourcesfolder is consistent with the upload from the MSI job.🧰 Tools
🪛 actionlint (1.7.4)
264-264: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
272-272: Consistent JDK setup in EXE job
Includingjava-package: ${{ env.JAVA_PACKAGE }}here as well maintains parity with the MSI build, ensuring JavaFX support.
349-349: Exe installer renaming includes architecture suffix
Renaming the EXE toCryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.executable-suffix }}.exematches the MSI naming convention and promotes consistency.🧰 Tools
🪛 actionlint (1.7.4)
349-349: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
360-361: Per-architecture artifact upload names
Uploading artifacts asexe-${{ matrix.executable-suffix }}aligns with the download step and supports clear distinction in the workflow summary UI.🧰 Tools
🪛 actionlint (1.7.4)
360-360: property "executable-suffix" is not defined in object type {arch: string; os: string}
(expression)
388-392: Publish file patterns updated correctly
The glob patterns now include*-x64.msi,*-arm64.msi,*-x64.exe, and*-arm64.exe, matching the renamed artifacts.
394-420: AV allowlist jobs are correctly parameterized per architecture
The fourallowlist-*jobs use the respective download URLs and maintain properneedsdependencies, ensuring the antivirus whitelist process executes in sequence.
436-440: Slack notification updated for multi-arch
Slack title and message now reference "MSI packages" in plural, andMSG_MINIMAL: truereduces payload noise. Confirm that the channel formatting meets team expectations.
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
.github/workflows/win-exe.yml (1)
251-252: Apply dynamic runner to build-exe job
Thebuild-exejob now usesruns-on: ${{ matrix.os }}, mirroringbuild-msiand guaranteeing ARM64 builds execute on the correct runner.
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
303-346: DRY up WiX path environment variable declarations
TheWiX_Pathis repeatedly defined in step-levelenv:blocks forcandle.exe,light.exe, andinsignia.exe. Consider movingWiX_Pathinto a job-levelenv:underbuild-exeto reduce duplication and ease future maintenance.
380-383: Avoid brittle asset indexing in publish outputs
Relying on hardcoded indices ([0]…[3]) insteps.publish.outputs.assetscan break if upload order changes. Consider filtering the JSON by asset name (e.g., endswith-x64.msi) viafromJsonandjqto deterministically extract each URL.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(12 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.4)
.github/workflows/win-exe.yml
45-45: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
260-260: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
🔇 Additional comments (15)
.github/workflows/win-exe.yml (15)
18-20: Switch to Liberica JDK with JavaFX modules
The environment variables now use Liberica (JAVA_DIST: 'liberica',JAVA_VERSION: '23.0.2+9') and specifyJAVA_PACKAGE: 'jdk+fx', ensuring JavaFX jmods are bundled in the JDK.
36-46: Enable matrix build for x64 and ARM64
Thebuild-msijob now dynamically setsruns-on: ${{ matrix.os }}and defines a matrix witharch,os, andexecutable-suffixfor bothx64andarm64. This correctly targets the appropriate Windows runners.🧰 Tools
🪛 actionlint (1.7.4)
45-45: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
52-54: Conditionally install WiX toolset on ARM64
Installing the WiX toolset only whenmatrix.arch == 'arm64'ensures the ARM64 runner (which lacks WiX) is provisioned correctly without affecting x64 builds.
62-62: Specify Java package to include JavaFX modules
Addingjava-package: ${{ env.JAVA_PACKAGE }}toactions/setup-java@v4ensures the JDK setup includes JavaFX, removing the need for manual jmods handling or downloads.
66-66: Set Maven project version from workflow input
Usingmvn versions:setwith${{ needs.get-version.outputs.semVerStr }}correctly injects the release version into the POM before packaging.
79-79: Use bundled JDK jmods instead of separate download
Pointing--module-pathto${JAVA_HOME}/jmodsleverages the JavaFX modules included in the JDK, simplifying the build and eliminating external dependencies.
231-232: Rename MSI to include version and architecture
Renaming the MSI installer toCryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.executable-suffix }}.msiensures the artifact clearly reflects both the release version and target architecture.
263-267: Conditionally install WiX toolset on ARM64 for EXE build
Mirroring the MSI step, this ensures the ARM64 runner gets WiX installed whenmatrix.arch == 'arm64', without impacting x64 workflows.
272-272: Use architecture-specific artifact names for MSI
Settingname: msi-${{ matrix.executable-suffix }}in both download and upload steps guarantees each architecture’s MSI artifact is uniquely named.
280-280: Include JavaFX package in EXE build setup-java
Specifyingjava-package: ${{ env.JAVA_PACKAGE }}here ensures the EXE installer build has JavaFX support without additional manual steps.
357-358: Rename EXE to include version and architecture
Renaming the EXE installer toCryptomator-${{ needs.get-version.outputs.semVerStr }}-${{ matrix.executable-suffix }}.exealigns it with the MSI naming convention.
368-368: Use architecture-specific EXE artifact names
Uploading the EXE artifacts undername: exe-${{ matrix.executable-suffix }}provides clear separation between x64 and ARM64 builds.
396-399: Correct file glob patterns for release assets
The updated file patterns (*-x64.msi,*-arm64.msi,*-x64.exe,*-arm64.exe) now accurately match the renamed artifacts and ensure all installers are published.
402-428: New antivirus allowlist jobs for each installer
The fourallowlist-*jobs correctly chain offpublish(and prior allowlist jobs) to sequentially whitelist each installer on both architectures. This segmentation improves clarity and failure isolation.
444-448: Update Slack notification for multiple MSI packages
AdjustingSLACK_TITLEto reference "MSI packages" and enablingMSG_MINIMAL: trueprovides a concise notification reflecting the multi-arch build.
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (2)
.github/workflows/win-exe.yml (2)
42-52: Dynamic runner selection per architecture
Usingruns-on: ${{ matrix.os }}withwindows-latest/windows-11-armand an explicit matrix include guarantees jobs run on the appropriate Windows x64 or ARM64 runner.🧰 Tools
🪛 actionlint (1.7.7)
51-51: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
257-257: Dynamic runner selection for EXE build
Mirroring the MSI job withruns-on: ${{ matrix.os }}correctly supports both Windows x64 and ARM64.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
dist/win/build.ps1is excluded by!**/dist/**
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(11 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
51-51: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
266-266: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
🔇 Additional comments (19)
.github/workflows/win-exe.yml (19)
15-20: Review trigger configuration for push events
Ensure the addedpushtrigger on changes to the workflow file anddist/win/**aligns with your CI strategy and doesn’t cause excessive runs on routine distribution updates.
63-63: Include JavaFX modules via setup-java
The newjava-package: ${{ env.JAVA_PACKAGE }}ensures JDK+FX is installed, removing the need for external jmods.
85-85: Leverage JDK-bundled jmods
Switching to--module-path "${JAVA_HOME}/jmods"aligns with the bundled JavaFX modules in the JDK and simplifies your build.
238-238: Add architecture suffix to MSI filename
Renaming the MSI to include${{ matrix.executable-suffix }}clearly differentiates x64 and ARM64 builds.
249-249: Parametrize MSI artifact upload
Usingname: msi-${{ matrix.executable-suffix }}ensures the uploaded artifact corresponds to the renamed installer.
270-274: Uniform WiX tool installation
Installing WiX as a dotnet global tool standardizes the setup. Verify that thewindows-11-armrunner includes the required .NET tooling so this step won’t fail on ARM64.
308-322: Simplify EXE bundling withwix build
Switching from manual candle/light commands towix buildwith extensions enhances readability and maintainability.
325-325: Detach burn engine for signing
Thewix burn detachstep correctly extracts the engine for separate code-signing.
337-338: Reattach signed burn engine
Usingwix burn reattachto merge the signed engine back into the bundle is spot on.
348-348: Add architecture suffix to EXE filename
Renaming the EXE with${{ matrix.executable-suffix }}ensures clarity between x64 and ARM64 outputs.
359-359: Parametrize EXE artifact upload
Thename: exe-${{ matrix.executable-suffix }}matches the renamed installer, avoiding mismatches.
371-374: Publish step outputs ordering
Mapping download URLs by index relies on the file ordering defined in thefiles:list. Ensure that list is never reordered to keep indices in sync.
388-391: Update release upload globs for architecture suffix
The corrected patterns (*-x64.msi,*-arm64.msi,*-x64.exe,*-arm64.exe) now match the renamed artifacts and will publish both installer types for each arch.
394-400: Add MSI x64 allowlist job
Theallowlist-msi-x64job correctly depends onpublishand uses the x64 MSI URL for AV whitelist testing.
401-407: Add MSI ARM64 allowlist job
Theallowlist-msi-arm64job runs afterpublishand uses the ARM64 MSI URL, covering both architectures.
408-414: Add EXE x64 allowlist job
Chainingallowlist-exe-x64afterallowlist-msi-x64and referencing the correct EXE URL completes the x64 AV whitelist workflow.
415-421: Add EXE ARM64 allowlist job
Theallowlist-exe-arm64job depends onallowlist-msi-arm64and targets the ARM64 EXE, finalizing the allowlist matrix.
436-437: Update Slack notification for multi-package release
The newSLACK_TITLEandSLACK_MESSAGEaccurately describe multiple MSI packages and link to the Winget workflow.
440-440: Add minimal Slack message flag
SettingMSG_MINIMAL: truewill reduce notification verbosity, which is useful for concise alerts.
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (2)
.github/workflows/win-exe.yml (2)
402-405:⚠️ Potential issueAvoid brittle asset indexing in publish outputs
Relying on fixed indices fromfromJson(steps.publish.outputs.assets)may break if upload order shifts. Filter by asset name for deterministic URLs:- download-url-msi-x64: ${{ fromJson(steps.publish.outputs.assets)[0].browser_download_url }} - download-url-msi-arm64: ${{ fromJson(steps.publish.outputs.assets)[1].browser_download_url }} + download-url-msi-x64: ${{ fromJson(steps.publish.outputs.assets) | map(select(.name | endsWith("-x64.msi"))) | first | .browser_download_url }} + download-url-msi-arm64: ${{ fromJson(steps.publish.outputs.assets) | map(select(.name | endsWith("-arm64.msi"))) | first | .browser_download_url }}
24-24:⚠️ Potential issueAlign JAVA_DIST with PR objective to use Liberica JDK
The PR summary indicates switching to Liberica (BellSoft) JDK with bundled JavaFX modules, butJAVA_DISTremainszulu. Please update it accordingly:env: - JAVA_DIST: 'zulu' + JAVA_DIST: 'bellsoft'
🧹 Nitpick comments (1)
.github/workflows/win-exe.yml (1)
467-468: Slack notification title could be broadened
The title references only MSI packages, but EXE installers are also published. Consider updating to “Windows installers” or listing both types.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(14 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
298-298: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
🔇 Additional comments (4)
.github/workflows/win-exe.yml (4)
15-20: Push trigger path filters look good
Restricts builds to relevant workflow and distribution changes while ignoring dependabot.
105-110: Dynamic jmod path detection is solid
The check for JEP-493 support and conditional prepending of the JDK jmods path ensures compatibility across Java versions.
141-141: Native access flag addition is correct
Adding--enable-native-access=javafx.graphics,…aligns with the updated module requirements.
269-271: Installer renaming with architecture suffix is correct
Incorporatingmatrix.executable-suffixinto the MSI filename ensures unique artifacts per architecture.
|
I've taken over the latest changes from First, I thought easiest would be to use zulu So I re-included the JMods download, but this time there is no zulu I think we have to wait for Java 24 ARM being available on the runner. |
For now, we need to stick with the Liberica JDK for arm. |
@overheadhunter Done. I rebased the "Support for Windows ARM64" changes as one commit on top of the current The workflow now works too and completes and was tested as far as possible without the specific secret needed to publish a release:
Link to the action run seen in the screenshot above: This should be it and so ready for being checked from you again. Thank you for that! @infeo Thank you very much for all the Java 24 and WiX 6 changes you have done! |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
428-433: Fragile asset indexing in publish outputs
Relying on fixed array indices ([0],[1], etc.) may break if the upload order changes. Consider filtering the JSON by asset name (e.g., endswith-x64.msi) rather than positional indexing for more resilience.
495-497: Broaden Slack notification message
TheSLACK_TITLEandSLACK_MESSAGEreference only MSI packages, but you’re also publishing EXE installers. Consider updating the text to “installers” or explicitly call out EXE packages, e.g.:SLACK_TITLE: "Windows installers of ${{ github.event.repository.name }} ${{ github.event.release.tag_name }} published."
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
dist/win/build.ps1is excluded by!**/dist/**
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(12 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
56-56: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
315-315: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
🔇 Additional comments (14)
.github/workflows/win-exe.yml (14)
26-29: Verify ARM64 JDK distribution ID
You’ve introduced ARM64-specific variables (JAVA_DIST_ARM64: 'liberica', etc.) which is great. Please confirm thatactions/setup-java@v4supports thelibericadistribution identifier on ARM64 runners—otherwise you may need to switch to the recognizedbellsoftID.
47-57: Matrix strategy for multi-arch builds
Converting both MSI and EXE jobs to use a matrix overarchwith correspondingosandexecutable-suffixis a clean approach.windows-latestandwindows-11-armwill correctly target x64 and ARM64 runners.🧰 Tools
🪛 actionlint (1.7.7)
56-56: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
87-96: Conditional download of JavaFX jmods
Good use ofif: matrix.arch == 'x64'to skip the jmods download on ARM64, relying instead on the bundled modules in Liberica. The PowerShell checksum validation and extraction look solid.
98-106: Skip version check for ARM64
The addedif: matrix.arch == 'x64'guard around the JMOD vs. POM version check is correct—ARM64 builds won’t have an OpenJFX jmod to validate.
112-112: Version setting step
Themvn versions:setinvocation ensures the build artifacts carry the right semver. This aligns with theget-versionjob output.
306-316: Matrix strategy for EXE installer
Mirroring the MSI job’s matrix structure in thebuild-exejob is consistent and looks correct.🧰 Tools
🪛 actionlint (1.7.7)
315-315: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
327-328: Consistent artifact naming for MSI download
Usingname: msi-${{ matrix.executable-suffix }}to pull the correct MSI artifact in the EXE workflow is spot on.
331-347: Conditional Java setup in EXE job
The architecture-guardedsetup-javasteps for x64 vs. ARM64 replicate the MSI workflow and ensure the proper JDK and JavaFX packaging are installed. This supports the licensing and packaging steps that follow.
407-408: Include suffix in EXE filename
Renaming the.exeartifact to include both the version and${{ matrix.executable-suffix }}is correct and will prevent name collisions between architectures.
447-450: Publish file patterns match artifacts
The glob patterns (*-x64.msi,*-arm64.msi,*-x64.exe,*-arm64.exe) align with the renamed outputs and will correctly attach installers and signatures to the release.
453-459: MSI x64 allowlist flow
Theallowlist-msi-x64job correctly depends onpublishand uses the x64 MSI URL, isolating antivirus whitelisting per architecture.
460-466: MSI ARM64 allowlist flow
Theallowlist-msi-arm64job mirrors the x64 flow for ARM64. No issues here.
467-473: EXE x64 allowlist flow
Chaining theallowlist-exe-x64job afterallowlist-msi-x64ensures sequential whitelisting. Looks good.
474-480: EXE ARM64 allowlist flow
Same pattern applied for ARM64. Consistency is maintained.
|
The PR description was updated to provide info about the changes. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
274-275: Append architecture suffix to MSI filename
Renaming the MSI to include${{ matrix.arch }}guarantees distinct artifacts by architecture. Consider using a hyphen (-x64/-arm64) instead of an underscore to match the EXE naming convention.
413-418: Deterministic release asset indexing
Mapping the four download-URL outputs to the exact asset order (x64.msi,arm64.msi,x64.exe,arm64.exe) aligns with thefiles:listing. For added robustness, you may later filter by asset name instead of relying solely on index positions.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
dist/win/build.ps1is excluded by!**/dist/**
📒 Files selected for processing (2)
.github/workflows/win-exe.yml(13 hunks).github/workflows/winget.yml(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
306-306: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Build .msi Installer (x64, windows-latest, zulu, 24.0.1+9, jdk)
- GitHub Check: Build .msi Installer (arm64, windows-11-arm, liberica, 24.0.1+11, jdk+fx)
🔇 Additional comments (14)
.github/workflows/winget.yml (1)
26-26: Restrict winget installer regex to x64
Updating theinstallers-regexto'-x64\.msi$'ensures only the 64-bit MSI produced by the matrix build is submitted to winget-pkgs..github/workflows/win-exe.yml (13)
41-55: Use architecture-specific runner and Java distribution matrix
Switching to a matrix withruns-on: ${{ matrix.os }}and per-arch Java settings (java-dist,java-version,java-package) correctly targets Windows x64 and ARM64 builds on appropriate runners.🧰 Tools
🪛 actionlint (1.7.7)
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
75-84: Conditionally download JavaFX jmods only on x64
Addingif: matrix.arch == 'x64'to the Gluon download step ensures ARM64 uses the JDK-bundled JavaFX modules, preventing unnecessary or failed downloads on ARM.
86-98: Guard JavaFX version validation by architecture
Applying the sameif: matrix.arch == 'x64'to the JMOD vs. POM version check avoids irrelevant validation on ARM64 builds.
100-100: Synchronize Maven project version with release input
Setting the new project version fromneeds.get-version.outputs.semVerStrremains correct.
286-290: Upload architecture-specific MSI artifacts
Uploadingmsi-${{ matrix.arch }}along with the matching.msiand.ascfiles correctly captures both the installer and its signature per architecture.
295-311: Matrix-driven EXE build configuration
Mirroring the MSI job, the EXE job now usesruns-on: ${{ matrix.os }}and includes entries for x64/ARM64 withexecutable-suffixand distribution-specific JDK packages.🧰 Tools
🪛 actionlint (1.7.7)
306-306: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
321-322: Download matching MSI artifact for EXE bundling
Theactions/download-artifactstep correctly pulls in the previously built MSI per architecture for bundling into the EXE.
325-330: Reuse matrix Java setup for EXE job
Leveraging the samematrix.java-dist,matrix.java-version, andmatrix.java-packagein the EXE job ensures consistent JDK and JavaFX setups across both installer formats.
392-392: Add executable suffix to EXE filename
Renaming the EXE with${{ matrix.executable-suffix }}produces unique, per-architecture executables for downstream publishing.
403-407: Upload architecture-specific EXE artifacts
Definingname: exe-${{ matrix.executable-suffix }}and including the.exeand.ascpaths correctly captures the EXE installers and their signatures.
432-436: Specify architecture-specific upload patterns
Listing each glob (*-x64.msi,*-arm64.msi,*-x64.exe,*-arm64.exe) ensures all built artifacts are published in the expected order.
438-464: Chain antivirus allowlist jobs per artifact
Defining separateallowlist-msi-*andallowlist-exe-*jobs with proper dependencies enforces sequential whitelisting and avoids race conditions.
480-481: Update Slack notification for winget readiness
Adjusting the Slack title and message to reference multiple MSI packages and link to the winget workflow accurately reflects the multi-architecture build outcome.
|
@purejava I tweaked the ci script a little to dedup code and fixed the winget release |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(14 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
306-306: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Build .msi Installer (x64, windows-latest, zulu, 24.0.1+9, jdk)
- GitHub Check: Build .msi Installer (arm64, windows-11-arm, liberica, 24.0.1+11, jdk+fx)
🔇 Additional comments (8)
.github/workflows/win-exe.yml (8)
41-55: Matrix-based MSI build configuration is correctly implementedUsing
matrix.includeto explicitly maparch,os, and Java distribution ensures each job has complete context. The dynamicruns-onsetting and Java setup via matrix variables align with the PR objectives.🧰 Tools
🪛 actionlint (1.7.7)
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
75-84: Guard JavaFX jmods download to x64 buildsThe
if: matrix.arch == 'x64'condition correctly skips the Gluon jmods download on ARM64, relying on the bundled JavaFX modules. This prevents unnecessary downloads and checksum failures on ARM64 runners.
85-95: Conditionally verify JFX version only for x64 jmodsAdding
if: matrix.arch == 'x64'around the major-version consistency check ensures ARM64 builds don’t run this validation against missing jmods. The implementation is sound.
274-276: Include architecture suffix in MSI filenameAppending
-${{ matrix.arch }}to the MSI filename guarantees unique artifacts for x64 and ARM64, avoiding conflicts during upload.
294-310: Matrix-based EXE build configuration mirrors MSI setupThe EXE build uses an explicit
matrix.includeforarch,os, and Java parameters with dynamicruns-on. This is consistent, clear, and aligns with the MSI strategy.🧰 Tools
🪛 actionlint (1.7.7)
306-306: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
325-330: Setup Java dynamically in EXE jobUsing
actions/setup-javawith matrix variables for distribution, version, and package type ensures both architectures get the correct JDK and JavaFX modules. This matches the overall workflow design.
392-392: Include executable suffix in EXE filenameAdding
${{ matrix.executable-suffix }}to the EXE filename prevents name collisions and clearly identifies architecture per artifact.
478-479: Update Slack notification for multi-arch buildsThe Slack title and message now reference "MSI packages" and link to the winget workflow, reflecting the multi-architecture output. This aligns with the new build jobs.
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (2)
.github/workflows/win-exe.yml (2)
432-436: Tighten glob patterns for release files
Consider using explicit dash separators (*-x64.msi,*-arm64.msi, etc.) to avoid accidental matches (e.g., files namedCryptomatorx64.msi), improving pattern clarity.
480-481: Slack notification text could be more inclusive
The title references only “MSI packages”, but EXE artifacts are also generated. Consider renaming to “Windows installers” or updating the message to reflect both MSI and EXE.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/win-exe.yml(13 hunks)
🧰 Additional context used
🧠 Learnings (1)
.github/workflows/win-exe.yml (3)
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in preview since March 2024.
Learnt from: purejava
PR: cryptomator/cryptomator#3825
File: .github/workflows/win-exe.yml:35-39
Timestamp: 2025-04-21T16:02:41.510Z
Learning: GitHub Actions: The runner label `windows-11-arm` is a valid GitHub-hosted runner label for Windows ARM64 architecture, available in public preview since April 2025 for all public repositories.
Learnt from: infeo
PR: cryptomator/cryptomator#3691
File: .github/workflows/appimage.yml:34-34
Timestamp: 2025-01-20T13:49:21.235Z
Learning: GitHub Actions: The runner label `ubuntu-24.04-arm` is a valid GitHub-hosted runner label for Linux ARM64 architecture, available in preview since January 2025 for public repositories.
🪛 actionlint (1.7.7)
.github/workflows/win-exe.yml
52-52: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
306-306: label "windows-11-arm" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
🔇 Additional comments (12)
.github/workflows/win-exe.yml (12)
41-41: Dynamic runner mapping for MSI job is correct
Usingruns-on: ${{ matrix.os }}ensures x64 and ARM64 builds run on appropriate hosted runners per your matrix.
75-83: Conditional JavaFX jmods download scoped to x64 only
Theif: matrix.arch == 'x64'guard ensures ARM64 builds use the JDK-bundled JavaFX modules, avoiding unnecessary downloads.
86-94: JavaFX version consistency check is applied only for x64
The conditional block correctly verifies JFX versions for the downloaded jmods without affecting ARM64 workflows.
116-116: Minor comment added for jlink compression settings; no action needed.
274-276: Include architecture suffix in MSI filenames
Themv … Cryptomator-${{ … }}-${{ matrix.arch }}.msicommand now correctly avoids filename collisions between x64 and ARM64 builds.
286-289: Artifact naming reflects architecture
Uploading withname: msi-${{ matrix.arch }}makes it clear which artifact corresponds to which build matrix entry.
294-294: Dynamic runner mapping for EXE job is correct
Leveragingruns-on: ${{ matrix.os }}here mirrors the MSI job and ensures proper ARM64 execution.
403-407: Artifact naming for EXE aligns with suffix
Uploading withname: exe-${{ matrix.executable-suffix }}correctly distinguishes the build outputs.
438-443: MSI allowlist job invocation is correct
The newallowlist-msi-x64reusable workflow is properly wired withneedsandurlinputs.
445-450: ARM64 MSI allowlist step is configured
allowlist-msi-arm64mirrors the x64 job and correctly consumes the ARM64 download URL.
452-457: EXE x64 allowlist dependency chain is valid
Chaining onallowlist-msi-x64beforeallowlist-exe-x64enforces proper sequencing.
459-464: EXE ARM64 allowlist dependency chain is valid
Theneeds: [publish, allowlist-msi-arm64]ensures the ARM64 EXE is whitelisted only after the MSI step.
| download-url-msi-x64: ${{ fromJSON(steps.publish.outputs.assets)[0].browser_download_url }} | ||
| download-url-msi-arm64: ${{ fromJSON(steps.publish.outputs.assets)[1].browser_download_url }} | ||
| download-url-exe-x64: ${{ fromJSON(steps.publish.outputs.assets)[2].browser_download_url }} | ||
| download-url-exe-arm64: ${{ fromJSON(steps.publish.outputs.assets)[3].browser_download_url }} |
There was a problem hiding this comment.
🛠️ Refactor suggestion
Avoid fragile asset indexing by filtering
Relying on fixed array indices in fromJSON(steps.publish.outputs.assets)[0]…[3] can break if ordering changes. Use a filter on .name (e.g., map(select(.name|endswith("-x64.msi")))) to select assets deterministically.
🤖 Prompt for AI Agents
In .github/workflows/win-exe.yml around lines 415 to 418, the current code uses
fixed array indices to access assets, which is fragile if the order changes.
Replace the indexed access with a filter that selects assets by matching their
.name property, such as using a map or select function to find assets ending
with "-x64.msi" or similar patterns. This ensures the correct assets are chosen
deterministically regardless of their order in the array.
|
@purejava Thank your for the contribution! |


Addresses #3647.
Depends on cryptomator/integrations-win#106.
Blocked by #3824.Not necessarily blocked, as
libericaand others can be used. 😄Summary
x64use the openjfx64jmods release, whereas the scripts onarm64use the JavaFX modules contained in the locally installed JK on the machine, the scripts are running on - tested on both architectures and does work ✅jdk+fxis used forarm64- tested on both architectures and does work ✅