We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b054390 commit 14b3a75Copy full SHA for 14b3a75
.github/workflows/publish-psg-module.yml
@@ -0,0 +1,19 @@
1
+# $<Schema>$ https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2
+name: "Publish - PowerShell Gallery - Module"
3
+on:
4
+ release:
5
+ types:
6
+ - "published"
7
+ workflow_dispatch:
8
+jobs:
9
+ publish-psg-module:
10
+ name: "Publish - PowerShell Gallery - Module"
11
+ runs-on: "ubuntu-latest"
12
+ steps:
13
+ - name: "Checkout Repository"
14
+ uses: "actions/[email protected]"
15
+ - run: |
16
+ Install-Module -Name PowerShellGet -Force
17
+ Update-Module -Name PowerShellGet
18
+ Publish-Module -Path .\hugoalh.GitHubActionsToolkit\ -NugetAPIKey '${{secrets.POWERSHELLGALLERY_TOKEN}}' -Verbose
19
+ shell: "pwsh"
0 commit comments