Update .gitea/workflows/publish-nuget.yaml

Fix the searching path
This commit is contained in:
2025-11-04 09:16:10 +00:00
parent 8395914cef
commit 5867895e95

View File

@@ -46,7 +46,7 @@ jobs:
if grep -q "<IsPackable>True</IsPackable>" "$projfile"; then
projname=$(basename "$projfile" .csproj)
echo "Checking $projname..."
pkg=$(find "$projname/bin/Release" -maxdepth 1 -type f \
pkg=$(find ./artifacts -maxdepth 1 -type f \
-name "$projname.*.nupkg" ! -name "*.symbols.nupkg" | sort -V | tail -n1)
if [ -n "$pkg" ]; then
echo "Pushing $pkg"