Merge pull request #28 from CyberDrain/dev #24
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish New Version | |
| on: | |
| push: | |
| tags: "*" | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| name: Publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: PowerShell script | |
| uses: Amadevus/pwsh-script@v2.0.3 | |
| id: Build-Module | |
| with: | |
| script: | | |
| Install-Module ModuleBuilder -Force | |
| Build-Module -SemVer ${{ github.ref_name }} | |
| - name: Publish PowerShell Module | |
| uses: pcgeek86/publish-powershell-module-action@v20 | |
| with: | |
| modulePath: .\Output\DNSHealth | |
| NuGetApiKey: ${{ secrets.PS_GALLERY_KEY }} |