Skip to content

Commit 8d5ddb9

Browse files
Update action.yml
Co-authored-by: Norbert Elter <72046715+itsyoboieltr@users.noreply.github.com>
1 parent ac04f1d commit 8d5ddb9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ runs:
8282
# Prepare and activate custom Yarn if URL is provided.
8383
# This runs *before* setup-node might try to cache a standard Yarn.
8484
- name: Prepare and activate custom Yarn
85-
if: ${{ inputs.yarn-custom-url != '' }}
85+
if: ${{ env.YARN_CUSTOM_URL }}
86+
env:
87+
COREPACK_ENABLE_UNSAFE_CUSTOM_URLS: 1
88+
YARN_CUSTOM_URL: ${{ inputs.yarn-custom-url }}
8689
env:
8790
COREPACK_ENABLE_UNSAFE_CUSTOM_URLS: 1
8891
run: |

0 commit comments

Comments
 (0)