Skip to content

Commit 3dbfdd5

Browse files
committed
corrected publish workflow
1 parent 275fcdc commit 3dbfdd5

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,9 @@ jobs:
1919
env:
2020
NUGET_KEY: ${{ secrets.PSGALLERY_KEY }}
2121
run: |
22+
Import-Module PowerShellGet -MinimumVersion 2.2.5 -Force
2223
Write-Host "Publishing VSCode-Updater to PowerShell Gallery..."
2324
24-
# Ensure module manifest exists
25-
if (-not (Test-Path "./VSCode-Updater.psd1")) {
26-
Write-Error "Module manifest not found. Expected VSCode-Updater.psd1 in repo root."
27-
exit 1
28-
}
29-
30-
# Publish
3125
Publish-Module `
3226
-Path . `
3327
-NuGetApiKey $env:NUGET_KEY `

0 commit comments

Comments
 (0)