Skip to content

Commit efe173a

Browse files
committed
Rename registry_host to registry_url in action
1 parent fdc0870 commit efe173a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
description: The artifact name.
99
type: string
1010
required: true
11-
registry_host:
12-
description: The package registry host.
11+
registry_url:
12+
description: The package registry url.
1313
type: string
1414
required: true
1515
secrets:
@@ -45,6 +45,6 @@ jobs:
4545
uses: JS-DevTools/npm-publish@v2
4646
with:
4747
token: ${{ secrets.registry_token }}
48-
registry: ${{ inputs.registry_host }}
48+
registry: ${{ inputs.registry_url }}
4949
package: ${{ steps.meta.outputs.tgz }}
5050
access: restricted

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
needs: build
5555
with:
5656
artifact_name: ${{ needs.build.outputs.artifact_name }}
57-
registry_host: https://npm.pkg.github.com
57+
registry_url: https://npm.pkg.github.com
5858
secrets:
5959
registry_token: ${{ secrets.GITHUB_TOKEN }}
6060
node_auth_token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)