mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
CI: make any
fully platform unspecific
As https://docs.microsoft.com/en-us/dotnet/core/deploying/deploy-with-cli points out, dotnet >3.1 will produce a platform-specific executable by default unless set UseAppHost=false
This commit is contained in:
parent
cdd563a753
commit
38ab47cd0f
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -101,7 +101,7 @@ jobs:
|
|||
|
||||
- name: Build CLI
|
||||
if: ${{ matrix.rid == 'any' }}
|
||||
run: dotnet publish -c ${{ matrix.build_configuration }} BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
||||
run: dotnet publish -c ${{ matrix.build_configuration }} -p:UseAppHost=false BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
||||
- name: Build CLI
|
||||
if: ${{ matrix.rid != 'any' }}
|
||||
run: dotnet publish -c ${{ matrix.build_configuration }} -r ${{ matrix.rid }} BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
||||
|
|
Loading…
Reference in New Issue
Block a user