Fix route.
This commit is contained in:
@@ -43,6 +43,6 @@ runs:
|
||||
- name: "Parse query result."
|
||||
id: parse
|
||||
uses: act/common/yq/yq-expression@master
|
||||
with:
|
||||
with:
|
||||
expression: .data[] | select(.id == "${{ inputs.name }}").versions[].version
|
||||
input: ${{ steps.query.outputs.query }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user