File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,27 +80,27 @@ jobs:
8080 dotnet-version : ' 7.0.x'
8181
8282 - name : Restore dependencies
83- run : dotnet restore FastGithub.sln
84-
85- - name : Build and publish
86- shell : bash
87- run : |
88- # 发布主程序
89- dotnet publish FastGithub/FastGithub.csproj \
90- -c Release \
91- -r ${{ matrix.runtime }} \
92- --self-contained true \
93- -p:PublishSingleFile=true \
94- -p:PublishTrimmed=true \
95- -o ./publish/${{ matrix.runtime }}
96-
97- # 发布 UI (仅 Windows)
98- if [ "${{ matrix.runtime }}" == "win-x64" ]; then
99- dotnet publish FastGithub.UI/FastGithub.UI.csproj \
100- -c Release \
101- -o ./publish/${{ matrix.runtime }}
102- fi
103-
83+ run : dotnet restore FastGithub.sln
84+
85+ - name : Build and publish
86+ shell : bash
87+ run : |
88+ # 发布主程序
89+ dotnet publish FastGithub/FastGithub.csproj \
90+ -c Release \
91+ -r ${{ matrix.runtime }} \
92+ --self-contained true \
93+ -p:PublishSingleFile=true \
94+ -p:PublishTrimmed=true \
95+ -o ./publish/${{ matrix.runtime }}
96+
97+ # 发布 UI (仅 Windows)
98+ if [ "${{ matrix.runtime }}" == "win-x64" ]; then
99+ dotnet publish FastGithub.UI/FastGithub.UI.csproj \
100+ -c Release \
101+ -o ./publish/${{ matrix.runtime }}
102+ fi
103+
104104 - name : Create archive
105105 shell : bash
106106 run : |
You can’t perform that action at this time.
0 commit comments