Files
Samuel LisonandClaude Opus 4.8 6b202b8b6c Add CI + changelog workflows; auto-post releases to Discussions
ci.yml (push to main/dev + all PRs): rokit install, then stylua --check,
selene, luau-lsp analyze (against a Rojo sourcemap + Roblox type defs), and
build both default.project.json and demo.project.json. Least-privilege
permissions + concurrency cancel-in-progress, mirroring FediHome.

changelog.yml: require CHANGELOG.md in a PR's files unless skip-changelog.

release.yml: add discussions: write + discussion_category_name: Announcements
so each tagged release cross-posts to Discussions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 18:05:33 +10:00

33 lines
908 B
YAML

name: Release
# Build the drop-in .rbxm from source on every version tag and attach it to the release.
on:
push:
tags:
- "v*"
permissions:
contents: write
# Lets the release auto-post an announcement to the Discussions category below.
discussions: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain (rojo via rokit)
uses: CompeyDev/setup-rokit@v0.1.2
- name: Build engine model
run: rojo build default.project.json --output SurvivorCore.rbxm
- name: Attach to release
uses: softprops/action-gh-release@v2
with:
files: SurvivorCore.rbxm
# Cross-posts each release to Discussions → Announcements (created by default
# when Discussions is enabled). The category name must match exactly.
discussion_category_name: Announcements