Repository navigation
Fix Windows overlay donor build and allow overlay rebuild for a release tag - #710
Merged
Merged
Conversation
…or build The Windows donor script searched the vanilla donor snapshot before bin/Release, so Resolve-ProjectReferences replaced the patched VintagestoryAPI.dll hint with the unpatched one and VSSurvivalMod failed to compile in the v0.4.1 overlay run. Match the bash script's order and add a regression test.
Add workflow_dispatch with a tag input so overlays missing from a published release can be built and attached without moving the tag.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Release RiftLauncher overlaysrun for v0.4.1 (44775814883) failed inBuild win-x64 overlay, so the release has no overlay assets. The run for v0.4.0 failed too, for theInlineArrayreason fixed in #701.The v0.4.1 failure is in
scripts/prepare-runtime-donors.ps1: theVSSurvivalModdonor build reportedColorUtil.GetIncandescenceColorFloatsandICoreClientAPI.IsTesselationThreadas missing.Resolve-ProjectReferencesprobedruntime-donors/Lib,runtime-donors/andruntime-donors/Modsbeforebin/Release/net10.0. The vanilla snapshot contains an unpatchedVintagestoryAPI.dll, so it replaced the patched reference thatSet-ReferenceHintPathhad just set.prepare-runtime-donors.shalready probes the build output first, which is why the Linux overlay passed. The bug stayed hidden until runtime patches started using Optimum-only API members.Changes:
prepare-runtime-donors.ps1probes$outputRootfirst, matching the bash script.RuntimeDonorReferenceResolutionPrefersPatchedBuildOutputasserts that order in both scripts.release-overlay.ymlgainsworkflow_dispatchwith ataginput, so overlays can be built and attached for an existing release without moving its tag. The tag still has to matchVERSION. Thereleasetrigger behaves as before.No PR check runs
prepare-runtime-donors.ps1on Windows, so CI here cannot confirm the fix. After merge I will dispatch the workflow forv0.4.1and verify the Windows job and the uploaded assets. I checked that the new test logic passes on the fixed script and fails on the old one, but did not runOptimum.Testslocally.