Fix route.

This commit is contained in:
2025-07-01 14:03:15 -07:00
parent cb3981194b
commit 58768466b6
3 changed files with 6 additions and 3 deletions

View File

@@ -34,7 +34,10 @@ runs:
- name: "Build route." - name: "Build route."
id: route id: route
run: | run: |
ROUTE="/_registry/nuget/${{ inputs.organization }}/query?" # GitHub
#ROUTE="/_registry/nuget/${{ inputs.organization }}/query?"
# Gitea
ROUTE="/api/packages/${{ inputs.organization }}/nuget/query?"
NAME="${{ inputs.name }}" NAME="${{ inputs.name }}"
PRERELEASE="${{ inputs.prerelease }}" PRERELEASE="${{ inputs.prerelease }}"
if [[ "$PRERELEASE" == "true" ]]; then if [[ "$PRERELEASE" == "true" ]]; then