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

View File

@@ -39,7 +39,7 @@ runs:
id: base id: base
with: with:
version: ${{ inputs.defaultVersion }} version: ${{ inputs.defaultVersion }}
- uses: act/common/github/github-query-nuget-versions-latest@master - uses: act/common/github/github-query-nuget-versions-latest@master
id: nuget id: nuget
with: with:
name: ${{ inputs.name }} name: ${{ inputs.name }}