Skip to content

Commit cf36e2c

Browse files
committed
Fix Release GitHub workflow
1 parent a9f5a28 commit cf36e2c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/Release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- name: Publish
12+
- name: Set PSRepository to Trusted for PowerShell Gallery
13+
shell: pwsh
14+
run: |
15+
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
16+
- name: Install AsBuiltReport.Core module
17+
shell: pwsh
18+
run: |
19+
Install-Module -Name AsBuiltReport.Core -Repository PSGallery -Force
20+
- name: Publish module to PowerShell Gallery
1321
shell: pwsh
1422
run: |
1523
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Added
66
- PowerShell 7 compatibility
7-
- PSScriptAnalyzer & PublishPSModule GitHub Action workflows
7+
- PSScriptAnalyzer & Release GitHub Action workflows
88
- VMHost network adapter LLDP reporting
99
- NSX TCP/IP stacks for VMkernel Adpater reporting
1010
- Include release and issue links in `CHANGELOG.md`

0 commit comments

Comments
 (0)