Fix route.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user