Skip to content

Commit 4142044

Browse files
committed
Enhance NuGet package publishing logic for Geocoding.Yahoo and clean up documentation
1 parent a84c6b7 commit 4142044

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ jobs:
110110
run: |
111111
if [ -n "$NUGET_KEY" ]; then
112112
for package in $(find . -name "*.nupkg" | grep -v "minver"); do
113-
dotnet nuget push "$package" --source https://api.nuget.org/v3/index.json --api-key "$NUGET_KEY" --skip-duplicate
113+
if echo "$package" | grep -q "Geocoding.Yahoo"; then
114+
dotnet nuget push "$package" --source https://api.nuget.org/v3/index.json --api-key "$NUGET_KEY" --skip-duplicate \
115+
|| echo "⚠️ Skipping Yahoo package (no publish permission): $package"
116+
else
117+
dotnet nuget push "$package" --source https://api.nuget.org/v3/index.json --api-key "$NUGET_KEY" --skip-duplicate
118+
fi
114119
done
115120
fi

docs/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!-- markdownlint-disable MD041 MD034 MD007 MD032 -->
21
---
32
layout: home
43

@@ -28,7 +27,6 @@ features:
2827
- title: Sample App
2928
details: The sample web app demonstrates how to wire providers into a minimal ASP.NET Core application.
3029
---
31-
<!-- markdownlint-enable MD041 MD034 MD007 MD032 -->
3230

3331
## Quick Example
3432

0 commit comments

Comments
 (0)