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 1f3f64f commit 6edea8dCopy full SHA for 6edea8d
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish PowerShell Modules
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
14
+ - name: Publish Php Module
15
+ shell: pwsh
16
+ run: |
17
+ Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
18
+ cd php
19
+ Publish-Module -Path BuildPhp -NuGetApiKey ${{ secrets.NUGET_TOKEN }} -ErrorAction Stop
20
21
+ - name: Publish Php Extension Module
22
23
24
25
+ cd extension
26
+ Publish-Module -Path BuildPhpExtension -NuGetApiKey ${{ secrets.NUGET_TOKEN }} -ErrorAction Stop
0 commit comments