Repository navigation
feat: add production-grade GitHub Actions Release workflow - #73
Conversation
- Implements automated CI release on push to `v*` tags - Validates code BOM encoding and executes Pester 3.4.0 unit tests identical to `ci.yml` - Safely stages only required runtime files into a clean `$env:RUNNER_TEMP` directory, explicitly excluding `.git`, `.github`, `tests`, etc. - Packages portable `SimpleWiki-<tag>.zip` distribution and generates SHA-256 hash checksums - Verifies package portability automatically via a smoke test that unpacks the zip into an isolated directory and executes a static `Export-MarkdigWiki.ps1` HTML build - Automates GitHub Release creation utilizing `softprops/action-gh-release@v2` with generated assets attached Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR introduces a highly reliable GitHub Actions Release workflow located at
.github/workflows/release.yml.Verified Features & Operations:
pushof tags matchingv*as well as manual runs viaworkflow_dispatch..ps1must be UTF-8 with BOM;.batwithout BOM) and triggers existing Pester 3.4.0 test suites (aligned perfectly withci.yml).lib/,markdown_sample/, core scripts, docs) while explicitly rejecting arbitrary directories like.git,.agents,tests,scratch,.logfiles, and.cache..zipinto a new temp dir, confirms absence of excluded development files, guarantees presence of required ones (Markdig.dll,Start-MarkdigWiki.bat,index.md, etc), and finally runs a completely detachedExport-MarkdigWiki.ps1static html generation build.SimpleWiki-<tag>.zipand its.sha256checksum utilizingsoftprops/action-gh-release@v2.Detailed Local Verification output (simulation):
PR created automatically by Jules for task 3865488152887528913 started by @chottokun