Skip to content

Commit d829ed9

Browse files
authored
Set shell to pwsh (#75)
1 parent 0e2a9cc commit d829ed9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/psrule-monitor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
run: |
1818
# Install-Module -Name PSRule -Force -Scope CurrentUser -SkipPublisherCheck
1919
Install-Module -Name PSRule.Monitor -Force -Scope CurrentUser -SkipPublisherCheck
20+
shell: pwsh
2021

2122
- name: Run PSRule
2223
run: |
@@ -31,6 +32,7 @@ jobs:
3132
-Format Detect -Culture en
3233
$result | Send-PSRuleMonitorRecord -WorkspaceId $Env:PSRULE_CONFIGURATION_MONITOR_WORKSPACE_ID `
3334
-SharedKey $Env:PSRULE_CONFIGURATION_MONITOR_WORKSPACE_KEY -LogName RjbTest
35+
shell: pwsh
3436
env:
3537
PSRULE_CONFIGURATION_MONITOR_WORKSPACE_ID: ${{ secrets.PSRULE_CONFIGURATION_MONITOR_WORKSPACE_ID }}
3638
PSRULE_CONFIGURATION_MONITOR_WORKSPACE_KEY: ${{ secrets.PSRULE_CONFIGURATION_MONITOR_WORKSPACE_KEY }}

0 commit comments

Comments
 (0)