Skip to content

Commit 03b551f

Browse files
committed
fix: implement copilot suggestions
1 parent c9227d6 commit 03b551f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ runs:
7676
run: echo "actual-commit-hash=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
7777
shell: bash
7878

79-
- name: Enable global allow Yarn installation from a custom URL
79+
- name: Enable unsafe custom Yarn URLs
8080
if: ${{ inputs.yarn-custom-url != '' }}
8181
run: echo "COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1" >> $GITHUB_ENV
8282
shell: bash
@@ -90,7 +90,7 @@ runs:
9090
if: ${{ inputs.yarn-custom-url != '' }}
9191
run: |
9292
echo "Preparing and activating custom Yarn from URL: ${{ inputs.yarn-custom-url }}"
93-
corepack prepare yarn@${{ inputs.yarn-custom-url }} --activate
93+
corepack prepare 'yarn@${{ inputs.yarn-custom-url }}' --activate
9494
shell: bash
9595

9696
# In a low-risk environment, try to download cache of `node_modules`, if it

0 commit comments

Comments
 (0)