Skip to content

Commit

Permalink
Create build_setup_dependancies.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gweinjc committed Sep 29, 2023
1 parent d89141d commit b728313
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build_setup_dependancies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Cache Dependancies Test
run-name: ${{ github.actor }} is testing PowerShell caching
on: push
jobs:
setup-build-dependancies:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
- name: Setup PowerShell Module Cache
id: cacher
uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
- name: Install dependencies
if: steps.cacher.outputs.cache-hit != 'true'
shell: pwsh
run: |
Set-PSRepository psgallery -InstallationPolicy trusted
Install-Module -Name PowerShellGet -AllowPrerelease -Force
Install-Module -Name AWS.Tools.Common -Force
Install-Module -Name AWS.Tools.CodeArtifact -Force
Install-Module -Name JumpCloud.SDK.DirectoryInsights -Force
Install-Module -Name JumpCloud.SDK.V1 -Force
Install-Module -Name JumpCloud.SDK.V2 -Force
Install-Module -Name NuGet -Force

0 comments on commit b728313

Please sign in to comment.