ci: Attempting to fix path errors in chocolatey install

This commit is contained in:
Dark-Alex-17 committed 2025-09-14 20:00:03 -06:00
1 parent 21127f3ec3
commit 4c30bc7e7d
5 files changed
+6 -39

No files matched your search

+3 -2
View File
@@ -406,8 +406,9 @@ jobs:
# Publish to Chocolatey
cd ./deployment/chocolatey
choco pack
echo y | choco install gman -dv -s .
$version = gman.exe --version
choco install gman --yes -dv -s .
$exe = Get-ChildItem "$env:ChocolateyInstall\lib\gman\tools\gman*.exe" -ErrorAction Stop | Select-Object -First 1 -Expand FullName
$version = & $exe --version
$version = $version -replace " ", "."
choco push $version.nupkg -s https://push.chocolatey.org/ --api-key ${{ secrets.CHOCOLATEY_API_KEY }};