Skip to content

Commit a172216

Browse files
🩹 [CI]: Add environment variable definitions for module import in Test-ModuleLocal workflow
1 parent 19f57e0 commit a172216

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎.github/workflows/Test-ModuleLocal.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,18 @@ jobs:
102102
- name: Import-Module
103103
id: import-module
104104
shell: pwsh
105+
env:
106+
TEST_APP_ENT_CLIENT_ID: ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
107+
TEST_APP_ENT_PRIVATE_KEY: ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
108+
TEST_APP_ORG_CLIENT_ID: ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
109+
TEST_APP_ORG_PRIVATE_KEY: ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
110+
TEST_USER_ORG_FG_PAT: ${{ secrets.TEST_USER_ORG_FG_PAT }}
111+
TEST_USER_USER_FG_PAT: ${{ secrets.TEST_USER_USER_FG_PAT }}
112+
TEST_USER_PAT: ${{ secrets.TEST_USER_PAT }}
105113
working-directory: ${{ inputs.WorkingDirectory }}
106114
run: |
115+
Write-Output " Getting envvars"
116+
Get-ChildItem env: | Select-Object Name, Value | Format-Table -AutoSize | Out-String
107117
$name = Get-ChildItem "outputs/module" | Select-Object -ExpandProperty Name
108118
$path = Install-PSModule -Path "outputs/module/$name" -PassThru
109119
Write-Warning $path

0 commit comments

Comments
 (0)