Add GitHub workflow to publish Vortex releases via Upload API#23276
Merged
Sewer56 merged 4 commits intoMay 27, 2026
Conversation
- Manual dispatch workflow with dry-run by default - Validates release is stable (not draft/prerelease) - Downloads and uploads .exe installer to Nexus Mods - Concurrency control prevents simultaneous publish runs - Includes documentation for release managers
- Add `findLatestStableTag()` using `gh release list --exclude-pre-releases --exclude-drafts` - Previously relied on implicit latest; now explicitly filter out drafts/prereleases - Pass selected tag to `gh release view` for deterministic behavior - Update tests and documentation to reflect the change
- Document that outputs bridge to downstream workflow steps - Explain when to use multiline heredoc syntax (release changelog) - Note single-line restriction for other outputs
erri120
approved these changes
May 27, 2026
Member
Author
Contributor
|
Could we potentially have a Vortex-Test mod (that is hidden) under the |
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.

Closes LAZ-229.
First merge
Summary
Adds a GitHub Actions workflow that publishes Vortex releases to Nexus Mods via the Upload API.
Change
New workflow
.github/workflows/publish-release.ymltriggers on release events.Prepare script
scripts/publish-release-to-nexus/is a TypeScript module with testable pure functions (inject a fakeghRunand temp dir):gh release view --json.exeinstaller asset from the releasevfrom the tag to produce a plain versionGITHUB_OUTPUTkeys for the upload step (multiline body uses heredoc syntax)Documentation in
docs/publishing-releases.mdcovers the publishing process and API usage.There's a fair bit of logic here; so rather than making a long, untestable workflow yaml; it's been lifted out to a script; which is called from the yaml.
Modified Files
.github/workflows/publish-release.yml- new release-publishing workflowscripts/publish-release-to-nexus/index.ts- workflow entry pointscripts/publish-release-to-nexus/prepare.ts- pure publish-preparation functionsscripts/publish-release-to-nexus/prepare.test.ts- vitest suite for prepare moduledocs/publishing-releases.md- new documentation for the publishing process