Merge pull request #33 from JohnDuprey/dev #16
Workflow file for this run
This file contains 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: '*' | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: PowerShell script | |
uses: Amadevus/[email protected] | |
id: Build-Module | |
with: | |
script: | | |
Install-Module ModuleBuilder -Force | |
Build-Module | |
- name: Update Metadata | |
uses: natescherer/update-powershell-metadata-action@v2 | |
with: | |
path: .\Output\DuoSecurity | |
version: ${{ github.ref_name }} | |
- name: Publish PowerShell Module | |
uses: pcgeek86/publish-powershell-module-action@v20 | |
with: | |
modulePath: .\Output\DuoSecurity | |
NuGetApiKey: ${{ secrets.PS_GALLERY_KEY }} |