We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 899f898 commit c9cf51dCopy full SHA for c9cf51d
.github/workflows/publish-module.yml
@@ -0,0 +1,18 @@
1
+name: Publish PowerShell Module
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish-to-gallery:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v5
12
+ - name: Build and publish
13
+ env:
14
+ NUGET_KEY: ${{ secrets.NUGET_KEY }}
15
+ shell: pwsh
16
+ run: |
17
+ ./build.ps1 -Path /tmp/samplemodule
18
+ Publish-Module -Path /tmp/samplemodule -NuGetApiKey $env:NUGET_KEY -Verbose
0 commit comments