Skip to content

Publish PowerShell

Publish PowerShell #34

Workflow file for this run

name: Publish PowerShell
on:
workflow_dispatch: {}
jobs:
publish:
runs-on: windows-latest
steps:
- name: Install and cache PowerShell modules
uses: potatoqualitee/[email protected]
with:
modules-to-cache: InvokeBuild, PSScriptAnalyzer, Pester, Az.Accounts, Az.Resources
shell: pwsh
- uses: actions/checkout@v3
- name: PowerShellGallery
shell: pwsh
run: ./.build/start.ps1 -Task Publish.PsModule -ApiKey ${{ secrets.POWERSHELLGALLERY }}