fix(workflows): use shell:powershell (PS 5.1) instead of pwsh; fix ciScriptsDir path

- All 3 workflows: pwsh -> powershell (host requires PS 5.1, not Core 7+)
- workflow-example.yml: replace GITHUB_WORKSPACE-relative ciScriptsDir with
  hardcoded host path; use SSH alias URL (host-clone mode) instead of HTTP
- docs: add WORKFLOW-AUTHORING.md reference for AI and developers
This commit is contained in:
Simone
2026-05-11 18:48:07 +02:00
parent db1530cf0f
commit 1c39701534
4 changed files with 575 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
steps:
- name: Run CI Job
shell: pwsh
shell: powershell
run: |
& 'N:\Code\Workspace\Local-CI-CD-System\scripts\Invoke-CIJob.ps1' `
-JobId '${{ github.run_id }}' `
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
fetch-depth: 1
- name: Run PSScriptAnalyzer
shell: pwsh
shell: powershell
run: |
$ErrorActionPreference = 'Stop'