Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolonsky committed Jan 31, 2022
1 parent e78078c commit 9ff0159
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish-powershellgallery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PSGallery
on:
release:
types: [published]
jobs:
publish_psgallery:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Publishing
run: |
Publish-Script -Path $(Get-ChildItem -Path . -Filter "*.ps1" | Select-Object -ExpandProperty Name) -NuGetApiKey ${{ secrets.PSGALLERY }}
shell: pwsh

0 comments on commit 9ff0159

Please sign in to comment.