Skip to content

Commit

Permalink
(test): upload dir with one item
Browse files Browse the repository at this point in the history
  • Loading branch information
rcasperson-jc committed Aug 20, 2024
1 parent 1982f4d commit 8164683
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/powershell-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,14 @@ jobs:
Write-Host ('[status] Setting up org')
$variables = . ("./PowerShell/JumpCloud Module/Tests/SetupOrg.ps1") -JumpCloudApiKey "$env:PESTER_APIKEY" -JumpCloudApiKeyMsp "$env:PESTER_MSP_APIKEY"
$variables | ConvertTo-Json -Depth 10 | Out-File -FilePath /home/runner/.local/share/powershell/Modules/PesterVariables.json
- name: Move PesterVariables.json
run: |
mkdir -p ./path/to/directory
mv /home/runner/.local/share/powershell/Modules/PesterVariables.json /path/to/directory
- uses: PaloAltoNetworks/upload-secure-artifact@b0e2f8dc09b06aa38239ad1b9e5b5b57b4732abc
with:
name: jumpcloud-vars
path: /home/runner/.local/share/powershell/Modules/PesterVariables.json
path: ./path/to/directory
Test-Module:
needs: ["Setup-Build-Dependancies", "Check-PR-Labels", "Setup-Org"]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8164683

Please sign in to comment.