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 96ebc95 commit 9b520bdCopy full SHA for 9b520bd
.github/workflows/deployment.yml
@@ -0,0 +1,22 @@
1
+name: deployment
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build:
8
+ runs-on: windows-latest
9
+ environment: production
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Install PesterExtensions
13
+ shell: pwsh
14
+ run: |
15
+ Set-PSRepository PSGallery -InstallationPolicy Trusted
16
+ Install-Module PesterExtensions -RequiredVersion 0.4.0.23
17
+ - name: Generate Module manifest file
18
+ run: .\setup.ps1 -Revision ${{ github.run_number }}
19
+ - name: Run tests
20
+ run: .\tests.ps1 -RunNumber ${{ github.run_number }}
21
+ - name: deploy
22
+ run: Publish-Module -Path ${{ env.MODULE_PATH }} -NuGetApiKey ${{ secrets.POWERSHELL_GALLERY_KEY }}
0 commit comments