Update pack and compare npm actions.

This commit is contained in:
2026-01-01 17:55:09 -08:00
parent 4276c65a6c
commit 815c4696d6
10 changed files with 269 additions and 7 deletions

View File

@@ -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

View File

@@ -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