Skip to content

CI/CD test and publish to NuGet#282

Open
ashtonmeuser wants to merge 5 commits intonuskey8:mainfrom
ashtonmeuser:cicd
Open

CI/CD test and publish to NuGet#282
ashtonmeuser wants to merge 5 commits intonuskey8:mainfrom
ashtonmeuser:cicd

Conversation

@ashtonmeuser
Copy link
Contributor

@ashtonmeuser ashtonmeuser commented Mar 25, 2026

Simple GitHub Action workflow to run tests and publish to NuGet. @nuskey8 This will require an API key stored as a secret. Runs on pushing a semver tag e.g. v0.5.4 or via explicit workflow dispatch.

This PR also throws the ExpectedFailure onto several of the test files inherited from Lua proper so we can skip them during CI. Note that additional test cases would require ExpectedFailure unless #279 is merged.

@ashtonmeuser
Copy link
Contributor Author

ashtonmeuser commented Mar 25, 2026

This still requires updating Directory.Build.props with the correct version number. A nice-to-have improvement may be validating this version against the pushed tag.

Edit: I actually found that the versions had diverged already. See Directory.Build.props (0.5.3) and src/Lua.Unity/Assets/package.json (0.5.1). Added the version check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant