Skip to content

Commit ffac99e

Browse files
authored
fix release action
1 parent 5e28819 commit ffac99e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323

2424
# 编译和发布应用程序
2525
- name: Build for Linux x64
26-
run: dotnet publish -c Release -r linux-x64 --self-contained -o output/linux-x64
26+
run: dotnet publish "./CameraCaptureBot.Core/CameraCaptureBot.Core.csproj" -c Release -r linux-x64 --self-contained -o output/linux-x64
2727

2828
- name: Build for Windows x64
29-
run: dotnet publish -c Release -r win-x64 --self-contained -o output/win-x64
29+
run: dotnet publish "./CameraCaptureBot.Core/CameraCaptureBot.Core.csproj" -c Release -r win-x64 --self-contained -o output/win-x64
3030

3131
- name: Build for Portable (any-x64)
32-
run: dotnet publish -c Release -r any -o output/any-x64
32+
run: dotnet publish "./CameraCaptureBot.Core/CameraCaptureBot.Core.csproj" -c Release -r any -o output/any-x64
3333

3434
# 压缩编译结果
3535
- name: Zip Linux x64

0 commit comments

Comments
 (0)