Skip to content

Commit d97b350

Browse files
authored
fix: Fix quoting of npm install for oidc publishing (#588)
Running this action with `publish-mode: oidc` results in the creation of a file `=11.5.1`, due to the lack of quotes in the command `npm install -g npm@>=11.5.1` which runs when publish mode is `oidc`.
1 parent c51e909 commit d97b350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ runs:
111111
- name: Upgrade npm for OIDC publishing
112112
if: ${{ inputs.publish-mode == 'oidc' }}
113113
run: |
114-
npm install -g npm@>=11.5.1
114+
npm install -g "npm@>=11.5.1"
115115
shell: bash
116116

117117
- name: Install ngrok

0 commit comments

Comments
 (0)