Skip to content

Commit c3b5d19

Browse files
FIX: @W-17291574@: Fix workflow to apply tag manually (attempt #3)
1 parent 62deb8a commit c3b5d19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/apply-npm-tag-to-version.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ jobs:
4444
echo "Invalid package name. Please choose one of the allowed package names."
4545
exit 1
4646
47+
- name: Prepare NPM Credentials
48+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
49+
4750
- name: Apply tag
48-
env:
49-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5051
run: |
5152
echo "You have confirmed that using this action is only recommended for emergency rollback situations and that you are responsible for manually applying the ${{ github.event.inputs.tag_name }} tag to ${{ github.event.inputs.package_name }}@${{ github.event.inputs.version }}."
5253
echo "Applying tag..."

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)