Skip to content

Publish PowerShell Module #6

Publish PowerShell Module

Publish PowerShell Module #6

Workflow file for this run

name: Publish PowerShell Module
on:
release:
types: [created, edited]
jobs:
publish-to-gallery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish
env:
GALLERY_KEY: ${{ secrets.GALLERY_KEY }}
shell: pwsh
run: Publish-Module -Path . -NuGetApiKey $env:GALLERY_KEY -Repository PSGallery -Verbose