Repository navigation
[pr-feature] Release workflow: victory.exe for every tag - #2
Merged
Merged
Conversation
…ry tag A tag pushed to the fork builds the release binary on windows-latest (cargo build --release --locked -p victory) and attaches victory.exe and a zip (exe, pdb, scripts, the root .cmd launchers, victory.example.toml) to the tag's GitHub release, made if it does not exist. The zip is also kept as a workflow artifact. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RxGcWqw1QvqSBENLiNPRD8
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.
Fixes #
What it changes
The fork's CI checks the code but keeps no binary. This adds
.github/workflows/release.yml, which runs when a tag is pushed:victory.exeonwindows-latestwithcargo build --release --locked -p victory, using the toolchain pinned inrust-toolchain.toml;victory-<tag>.zip, which holds:victory.exeandvictory.pdbscripts\.cmdlaunchersvictory.example.tomlvictory.exe(--clobber, so a re-run replaces them);It needs
contents: write, for the release only. Nothing from the game is involved: vendor SDKs are still fetched at run time byGet-*.cmd/victory get-*.How it was tested
cargo xtask policy --stagedpasses.cargo testpassed for the crates it touches: n/a, no Rust code changedChecked for overlap
ci.ymlonly runs clippy and the tests).Generated by Claude Code