Add GitHub Actions release workflow (workflow_dispatch)#17
Conversation
Agent-Logs-Url: https://github.com/Halcyonhal9/ghcp-powershell/sessions/f1647c8e-d34e-4244-a383-10524338cad5 Co-authored-by: Halcyonhal9 <123903683+Halcyonhal9@users.noreply.github.com>
|
@copilot /pr |
- Fix typo in environment name (CopilotCmldetsEnv -> CopilotCmdletsEnv)
- Remove unused $version variable in Create GitHub Release step
- Remove redundant zip pre-delete (Compress-Archive -Force handles overwrite)
- Simplify if: expression by removing unnecessary ${{ }} wrapper
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Halcyonhal9 <123903683+Halcyonhal9@users.noreply.github.com>
…andling Agent-Logs-Url: https://github.com/Halcyonhal9/ghcp-powershell/sessions/83b64ebb-7640-42d9-b239-c810240e10a0 Co-authored-by: Halcyonhal9 <123903683+Halcyonhal9@users.noreply.github.com>
Ran the full PR workflow. Here's the summary:
Changes made:
Build passes, all 120 unit tests pass. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
Solid workflow that faithfully replicates the
|
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| environment: CopilotCmldetsEnv |
There was a problem hiding this comment.
This is a typo. It should be CopilotCmdletsEnv
There was a problem hiding this comment.
Already fixed in b5db473 — CopilotCmldetsEnv → CopilotCmdletsEnv.
There was a problem hiding this comment.
Already fixed in b5db473 — CopilotCmldetsEnv → CopilotCmdletsEnv.
Replicates
build.ps1 -Releaseas a GitHub Action triggered viaworkflow_dispatch, enabling releases from the GitHub mobile app.Workflow inputs
patch(default) /minor/major— computes next version from latest git tagtruePipeline steps
win-x64,linux-x64,linux-arm64,osx-arm64) + RID-neutral gallery buildgh release upload --clobberif release already exists)POWERSHELL_GALLERY_API_KEYfrom theCopilotCmdletsEnvenvironmentHardening
concurrency: { group: release, cancel-in-progress: false }prevents race conditions from simultaneous dispatchesbuild.ps1behaviordotnet test --filter "Category=Unit"before proceeding to platform builds