Skip to content

Fix/package 243 output cache - #246

Draft
Gigant88 wants to merge 3 commits into
YoYoGames:mainfrom
Gigant88:fix/package-243-output-cache
Draft

Gigant88 wants to merge 3 commits into
YoYoGames:mainfrom
Gigant88:fix/package-243-output-cache

Conversation

@Gigant88

@Gigant88 Gigant88 commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #243.

When running package multiple times with different output names, Igor can fail because its intermediate output directory still contains artifacts from the previous package run.

This change clears only Igor's intermediate buildCacheDir/output directory before each GMS2 package, preserving the rest of the build cache.

The fix was validated with the fork's GitHub Actions CI and E2E workflows.

@opera-eadelhult

opera-eadelhult commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Hey! Thanks for taking the time and taking a look at this issue.

Taking a peek myself, it looks like it would be better to solve the root cause of the issue inside Igor (in WindowsBuilder.cs with YYC I presume) instead of this work-around in gm-cli. Maybe you can take a look @stuckie?

@Gigant88
Gigant88 marked this pull request as draft October 6, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

Duplicate Package Script Runs Fails

3 participants