diff --git a/.github/workflows/publish-prod.yaml b/.github/workflows/publish-prod.yaml index 7861200..c901200 100644 --- a/.github/workflows/publish-prod.yaml +++ b/.github/workflows/publish-prod.yaml @@ -10,9 +10,12 @@ jobs: environment: prod steps: - uses: actions/checkout@v4 + - name: Install AGMPowerCLI + run: Install-Module -Name AGMPowerCLI -Force -Scope CurrentUser + shell: pwsh - name: Publish to PowerShell Gallery env: NUGET_KEY: ${{ secrets.POWERSHELL_GALLERY_API_KEY }} shell: pwsh run: | - Publish-Module -Path . -NuGetApiKey $env:NUGET_KEY -Verbose \ No newline at end of file + Publish-Module -Path . -NuGetApiKey $env:NUGET_KEY -Verbose