Skip to content

Commit ddd75bd

Browse files
authored
Merge pull request #53 from EveGlowLuna/main
fix(setup): 修复工作流中文件复制错误
2 parents b9baeaf + ccb4084 commit ddd75bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ jobs:
8181
- name: Package
8282
run: |
8383
Compress-Archive -Path StarRailAssistant\* -DestinationPath StarRailAssistant_${{ env.version }}.zip
84-
Copy-Item -Path StarRailAssistant\* -Destination setup\SRA -Force
84+
New-Item -ItemType Directory -Path setup\SRA -Force
85+
Copy-Item -Path StarRailAssistant\* -Destination setup\SRA -Force -Recurse
8586
- name: Build Installer
8687
run: |
8788
New-Item -ItemType Directory -Path setup\output -Force

0 commit comments

Comments
 (0)