Fixed registry URLs.

This commit is contained in:
2025-07-01 15:32:31 -07:00
parent da35c24335
commit bfa252bc7d
6 changed files with 21 additions and 6 deletions

View File

@@ -106,4 +106,7 @@ runs:
name: ${{ inputs.name }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}
url: ${{ inputs.url }}/_registry/nuget/${{ inputs.organization }}/index.json
# This is for GitHub.
#url: ${{ inputs.url }}/_registry/nuget/${{ inputs.organization }}/index.json
# This is for Gitea.
url: ${{ inputs.url }}/api/packages/${{ inputs.organization }}/nuget/index.json

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S dotnet run
#:package Gitea.Net.API@25.3.*
#:package StudioWhy.Gitea.Net@1.24.2.*
using System.Text.Json;
using System.Text;

View File

@@ -76,4 +76,7 @@ runs:
name: ${{ inputs.name }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}
url: ${{ inputs.url }}/_registry/nuget/${{ inputs.organization }}/index.json
# This is for GitHub.
#url: ${{ inputs.url }}/_registry/nuget/${{ inputs.organization }}/index.json
# This is for Gitea.
url: ${{ inputs.url }}/api/packages/${{ inputs.organization }}/nuget/index.json

View File

@@ -18,7 +18,10 @@ inputs:
url:
description: "Url of the NuGet repository."
required: true
default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for GitHub.
#default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for Gitea.
default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json
username:
description: "Username for the nuget repository to search."
required: true

View File

@@ -38,7 +38,10 @@ inputs:
url:
description: "Url of the NuGet repository."
required: true
default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for GitHub.
#default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for Gitea.
default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json
username:
description: "Username for the nuget repository to search."
required: true

View File

@@ -11,7 +11,10 @@ inputs:
url:
description: "Url of the NuGet repository."
required: true
default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for GitHub.
#default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json
# This is for Gitea.
default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json
username:
description: "Username for the nuget repository to search."
required: true