File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11name : ' Copilot Setup Steps'
2- env :
3- MODULE_NAME : ' SqlServerDsc'
42
53# This workflow sets up a complete development environment for the PowerShell module project
64# when executed by GitHub Copilot Agent for development assistance.
@@ -19,11 +17,18 @@ jobs:
1917 copilot-setup-steps :
2018 name : Setup PowerShell Development Environment
2119 runs-on : ubuntu-latest
20+ env :
21+ MODULE_NAME : ' SqlServerDsc'
2222
2323 permissions :
2424 contents : read
2525
2626 steps :
27+ - name : Set Environment Variables
28+ shell : bash
29+ run : |
30+ echo "MODULE_NAME=SqlServerDsc" >> "$GITHUB_ENV"
31+
2732 - name : Checkout Repository
2833 uses : actions/checkout@v5
2934 with :
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919 - Switch the workflow to use Linux.
2020 - Attempt to unshallow the Copilot branch
2121 - Improved AI instructions.
22+ - Enhanced workflow with proper environment variable configuration and DSCv3 verification.
23+ - Fixed environment variable persistence by using $GITHUB_ENV instead of
24+ job-level env declaration.
2225- ` Assert-SqlDscLogin `
2326 - Added new public command to validate that a specified SQL Server principal
2427 exists as a login, throwing a terminating error if it doesn't exist.
You can’t perform that action at this time.
0 commit comments