Skip to content

Add CI/CD workflows for build validation and releases - #8

Merged
illmatix merged 2 commits into
mainfrom
feature/ci-cd-workflows
Mar 13, 2026
Merged

Add CI/CD workflows for build validation and releases#8
illmatix merged 2 commits into
mainfrom
feature/ci-cd-workflows

Conversation

@illmatix

Copy link
Copy Markdown
Owner

Summary

  • build.yml — runs dotnet build on PRs targeting main, downloading VS game DLLs with caching
  • release.yml — on merge to main, extracts version from modinfo.json, builds, packages a ZIP, and creates a GitHub Release (skips if release already exists)
  • IceSkates.csproj — adds Condition="Exists('$(VintageStoryDataPath)')" to CopyToMods target so CI builds don't fail when the mod data dir doesn't exist

Test plan

  • This PR's own build.yml check should pass (self-validating)
  • After merge, verify release.yml creates a GitHub Release with the ZIP artifact

🤖 Generated with Claude Code

@github-actions github-actions Bot added the chore Build, CI, dependencies label Mar 13, 2026
illmatix and others added 2 commits March 12, 2026 23:13
- build.yml: validates PRs against main with dotnet build
- release.yml: builds, packages ZIP, creates GitHub Release on merge to main
- IceSkates.csproj: conditional CopyToMods target so CI builds don't fail

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
modinfo.json now holds a 0.0.0-dev placeholder; the release workflow
determines the bump type from PR labels (version:major/minor, default
patch), calculates the next version from the latest git tag, and
injects it at build time. A concurrency group prevents racing releases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@illmatix
illmatix force-pushed the feature/ci-cd-workflows branch from 21e08d1 to 09de473 Compare March 13, 2026 05:15
@illmatix
illmatix merged commit 2b879e4 into main Mar 13, 2026
2 checks passed
@illmatix
illmatix deleted the feature/ci-cd-workflows branch March 13, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI, dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant