Skip to content

Commit b7b6c4b

Browse files
committed
fix: env corepack custom url
1 parent e15a50d commit b7b6c4b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,14 @@ runs:
7272
run: echo "actual-commit-hash=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
7373
shell: bash
7474

75-
- run: COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1 corepack enable
75+
- run: echo "COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1" >> $GITHUB_ENV
7676
shell: bash
7777

78+
- run: corepack enable
79+
shell: bash
80+
env:
81+
COREPACK_ENABLE_UNSAFE_CUSTOM_URLS: 1
82+
7883
# In a low-risk environment, try to download cache of `node_modules`, if it
7984
# exists. On failure, will run the `yarn` command instead.
8085
- name: Download node_modules cache

0 commit comments

Comments
 (0)