Skip to content

Commit fc81ae8

Browse files
authored
Merge branch 'main' into copilot/fix-8459f90c-c13d-41ca-b6fd-8f4f8627a98d
2 parents 54c645b + 4344231 commit fc81ae8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
name: '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:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)