diff --git a/.github/workflows/powershell-module-ci.yml b/.github/workflows/powershell-module-ci.yml index ce91fda1d..2b27c1bac 100644 --- a/.github/workflows/powershell-module-ci.yml +++ b/.github/workflows/powershell-module-ci.yml @@ -158,7 +158,7 @@ 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 - - uses: actions/upload-artifact@v3 + - uses: TheJumpCloud/common-github-actions/upload-secure-artifact@v2 with: name: jumpcloud-vars path: /home/runner/.local/share/powershell/Modules/PesterVariables.json @@ -180,7 +180,7 @@ jobs: with: path: "/home/runner/.local/share/powershell/Modules/" key: PS-Dependancies - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: jumpcloud-vars - name: Test PWSH Module diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 4f006d410..90c23d763 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -118,7 +118,7 @@ jobs: "Private" | should -bein $moduleRootDirectories.name "Public" | should -bein $moduleRootDirectories.name - name: Upload Nupkg - uses: actions/upload-artifact@v3 + uses: TheJumpCloud/common-github-actions/upload-secure-artifact@v2 with: name: jumpcloud-module-nupkg path: /home/runner/work/support/support/JumpCloud.*.nupkg @@ -154,7 +154,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download nupkg artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: jumpcloud-module-nupkg - name: Publish