Update pack and compare npm actions.
This commit is contained in:
@@ -7,7 +7,7 @@ inputs:
|
||||
registry:
|
||||
description: "NPM registry URL."
|
||||
required: false
|
||||
default: "https://npm.pkg.github.com"
|
||||
default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json
|
||||
authToken:
|
||||
description: "Authentication token for the registry."
|
||||
required: true
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
# Construct the registry URL
|
||||
REGISTRY_URL="$REGISTRY"
|
||||
if [[ "$REGISTRY" == "https://npm.pkg.github.com" ]]; then
|
||||
if [[ "$REGISTRY" == ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json ]]; then
|
||||
# GitHub Packages uses a specific URL format
|
||||
REGISTRY_URL="$REGISTRY"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user