Add nightly releases#764
Draft
Spartan322 wants to merge 1 commit into
Draft
Conversation
Catylist0
previously approved these changes
Jun 1, 2026
bbdf4f6 to
19830d7
Compare
Catylist0
previously approved these changes
Jun 1, 2026
2883065 to
10ab36a
Compare
Catylist0
previously approved these changes
Jun 1, 2026
9dc383b to
9c1b211
Compare
Add build workflow action Add release workflow action Separate unit test runs from build process Update ubuntu runner to 22.04 Move pre-commit checks to prek Pin workflow actions to commits Remove non-master push builds Add path changed whitelist for builds workflow Update ubuntu builds to use GCC 13
9c1b211 to
7ef7093
Compare
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.
Add build workflow action
Add release workflow action
Separate unit test runs from build process
Update ubuntu runner to 22.04
Move pre-commit checks to prek
Pin workflow actions to commits
Remove non-master push builds
Add path changed whitelist for builds workflow
Update ubuntu builds to use GCC 13
Requires the Github variable
NIGHTLY_REPOSITORYto be set to the nightly release repository's name. (Already set toOpenVic-Simulation-nightly-builds)Requires the Github secret
NIGHTLY_REPOSITORY_TOKENto be set.Requires the Github variable
NIGHTLY_CORE_VERSIONto be set. (Already set to0.1)Requires the Github variable
DEFAULT_COMMIT_HASHto an existing repository hash. (Already set tof6c94ddcb62c257f841051395d8511a454e091b7)These templates follow semver:
MAJOR.MINOR.PATCH-alpha.COUNT.MAJOR.MINOR.PATCH-beta.COUNT.MAJOR.MINOR.PATCH-rc.COUNT.MAJOR.MINOR.PATCH.MAJOR.MINOR.PATCH-snapshot.COUNT+SHA.MAJOR.MINOR.PATCH-snapshot.dev.COUNT+SHA.MAJOR.MINOR.PATCH-nightly.YYYY.MM.DD+SHA..PATCHis optional.COUNTrefers to how many of this release type there is with the release, so the first alpha for 0.1 would be0.1-alpha.1,COUNTshould be reset on the next major, minor, or patch change.Tags must be pushed in this form for all except for nightly releases. The releases automatically generate the release notes with PRs since the last update. Full releases only consider the difference between non-prerelease releases. Alphas, betas, and release candidates don't consider snapshots or nightly releases. Snapshots don't consider nightly releases. And nightly releases consider every release.
Nightly releases will build their release notes based on the publish date of the releases of the last nightly build compared to the master's latest published release. (not github's latest, prereleases are included)
Nightly releases retrieve the
MAJOR.MINOR.PATCHfromNIGHTLY_CORE_VERSION.Nightly releases only publish if a new commit (since the last nightly) which changes the output binary is found.
To disable nightly releases you can set the Github variable
DISABLE_NIGHTLY_RELEASESto true.To disable trigger releases via tags you can set the Github variable
DISABLE_TAG_RELEASESto true.To disable PR and master commit builds you can set the Github variable
DISABLE_BUILDSto true.