Skip to content

Commit

Permalink
RKT-2364: Use upload-secure-artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
rcasperson-jc committed Sep 6, 2024
1 parent 22446cc commit 535abf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/powershell-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 535abf5

Please sign in to comment.