Skip to content

Commit 5056f17

Browse files
committed
fix: os name
1 parent 07b017d commit 5056f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/pnpm/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: ${{ inputs.node-version }}
18-
mirror: ${{ runner.environment == 'self-hosted' && runner.os == 'Darwin' && 'https://npmmirror.com/mirrors/node' || '' }}
18+
mirror: ${{ runner.environment == 'self-hosted' && runner.os == 'macOS' && 'https://npmmirror.com/mirrors/node' || '' }}
1919

2020
- name: Enable corepack
2121
if: ${{ inputs.node-version != '16' }}

0 commit comments

Comments
 (0)