Fix route.
This commit is contained in:
@@ -34,7 +34,10 @@ runs:
|
||||
- name: "Build route."
|
||||
id: route
|
||||
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 }}"
|
||||
PRERELEASE="${{ inputs.prerelease }}"
|
||||
if [[ "$PRERELEASE" == "true" ]]; then
|
||||
|
||||
@@ -39,7 +39,7 @@ runs:
|
||||
id: base
|
||||
with:
|
||||
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
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
|
||||
Reference in New Issue
Block a user