Skip to content

Commit 83258b3

Browse files
committed
ci(deps): [publish] use flex-development/npm-url-action
- https://github.com/flex-development/npm-url-action/releases/tag/1.0.0 Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 4a1fd21 commit 83258b3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# - https://github.com/hmarr/debug-action
2020
# - https://github.com/flex-development/ghr-url-action
2121
# - https://github.com/flex-development/manver-action
22+
# - https://github.com/flex-development/npm-url-action
2223

2324
---
2425
name: publish
@@ -43,7 +44,7 @@ jobs:
4344
outputs:
4445
command: ${{ steps.command.outputs.result }}
4546
gpr: ${{ steps.gpr.outputs.url }}
46-
npm: ${{ steps.npm.outputs.result }}
47+
npm: ${{ steps.npm.outputs.url }}
4748
steps:
4849
- id: debug
4950
name: Print environment variables and event payload
@@ -77,8 +78,10 @@ jobs:
7778
uses: flex-development/ghr-url-action@1.1.0
7879
- id: npm
7980
name: Get environment url (npm)
80-
run: |
81-
echo "result=$(echo "https://npmjs.com/package/@${{ github.repository }}/v/${{ steps.version.outputs.manifest }}" | xargs)" >>$GITHUB_OUTPUT
81+
uses: flex-development/npm-url-action@1.0.0
82+
with:
83+
scope: ${{ github.repository_owner }}
84+
version: ${{ steps.version.outputs.manifest }}
8285
gpr:
8386
needs: preflight
8487
permissions:

0 commit comments

Comments
 (0)