One lint job (fmt, audit, MSRV, packaging dry runs) and a test job per desktop (Clippy with every feature and with default features, then the default cargo test targets, doctests included and benches excluded). publish refreshes the GitHub Release, uploads the changelog and on tags opens dependent issues; tagged runs publish crates, per crate or as the dependency-ordered workspace. Main pushes can deploy rustdoc. Benchmarks run on tags with generate_benchmarks, after publish, through benchmarks.yml.
Publish to crates.io on tagged releases; run a dry-run on all other pushes. Requires CARGO_REGISTRY_TOKEN secret.
cargo_publish_workspace
boolean
false
false
Publish every publishable workspace member in dependency order instead of one crate per crate name. Skips versions already on crates.io and waits out crates.io rate limits.
crate_names
string
true
—
JSON array of crate names to publish, e.g. '["my-lib"]'. Must match [package].name in Cargo.toml.
dependent_repo_names
string
false
Dependent repositories to notify on tagged releases, one owner/repo per line. JSON arrays are still accepted for compatibility.
generate_benchmarks
boolean
false
false
Run cargo bench, generate BENCHMARKS.md from Criterion output or the raw benchmark log, and upload it to the release.
generate_changelog
boolean
false
true
Generate a CHANGELOG.md from git history and upload it to the release.
generate_discord_notification
boolean
false
true
Generate a discord notification to DreamWeave upon success.
mod_template
boolean
false
false
The repository is a DreamWeave Mod Template site. modGlobalBuild records each version crates.io has in mod.lock, after a tag's publish, and builds and deploys the site. Replaces rustdoc Pages; the caller also grants actions: write.
msrv
string
false
Minimum supported Rust version to check the workspace against before release, e.g. '1.88'. 'auto' reads rust-version from Cargo.toml. Empty skips the check.
publish_docs
boolean
false
true
Build cargo doc and deploy to GitHub Pages. Disable if the project uses its own SSG.
if [ "$PUBLISH_WORKSPACE" = true ]; then cp .stroggforge/.github/scripts/publish_workspace.py "$RUNNER_TEMP/publish_workspace.py" rm -rf .stroggforge python3 "$RUNNER_TEMP/publish_workspace.py" exit 0 fi manifests=() for crate in $(jq -r '.[]' <<<"$CRATE_NAMES"); do manifests+=("$(bash .stroggforge/scripts/shared/resolve-crate-manifest.sh "$crate")") done rm -rf .stroggforge for manifest in "${manifests[@]}"; do cargo publish --manifest-path "$manifest" done