Add publishing workflow

This commit is contained in:
Rashil Gandhi
2023-01-07 01:14:29 +05:30
committed by GitHub
parent c0bbc26c86
commit 30770d10d8
+13
View File
@@ -0,0 +1,13 @@
name: Publish to PSGallery
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- shell: pwsh
run: Publish-Script -Path winfetch.ps1 -NuGetApiKey ${{ secrets.PSGALLERY_KEY }}