Skip to content

Commit 8e58c2e

Browse files
author
mikachu2333
committed
fix build error
1 parent 2bd9970 commit 8e58c2e

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/PR-test.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# | Mikachu2333 <[email protected]>
66
# |
77
# Created On : <2025-06-19>
8-
# Last Modified : <2025-08-07>
8+
# Last Modified : <2025-08-11>
99
#
1010
# Test PR
1111
# ---------------------------------------------------------------
@@ -14,11 +14,12 @@ name: 测试PR
1414

1515
on:
1616
pull_request:
17-
types: [opened,
18-
synchronize, # 后续提交
19-
ready_for_review, # draft PR 转为正式 PR
20-
review_requested,
21-
reopened]
17+
types: [
18+
opened,
19+
ready_for_review, # draft PR 转为正式 PR
20+
review_requested,
21+
reopened,
22+
]
2223
paths:
2324
- "src/**"
2425
- "lib/**"
@@ -50,6 +51,12 @@ jobs:
5051
- name: 检出代码
5152
uses: actions/checkout@v4
5253

54+
- name: 创建测试文件
55+
shell: powershell
56+
run: |
57+
New-Item -Path "$env:USERPROFILE\Documents\Powershell\Microsoft.PowerShell_profile.ps1" -ItemType File -Force
58+
New-Item -Path "$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1" -ItemType File -Force
59+
5360
- name: 安装依赖
5461
run: |
5562
choco install just

0 commit comments

Comments
 (0)