Skip to content

Commit 67b14d1

Browse files
Merge pull request #1717 from forcedotcom/fixWorkflow
FIX: @W-17291574@: Fix workflow to apply tag manually
2 parents 4972371 + ee8cfb7 commit 67b14d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@ 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-
5047
- name: Apply tag
5148
run: |
5249
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 }}."
5350
echo "Applying tag..."
51+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
5452
npm dist-tag add ${{ github.event.inputs.package_name }}@${{ github.event.inputs.version }} ${{ github.event.inputs.tag_name }}

0 commit comments

Comments
 (0)