diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..0b39e55 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 }}