From 52c11f6cfd33576db7d0ecf0605a95adf4960ac5 Mon Sep 17 00:00:00 2001 From: nkh0472 Date: Wed, 9 Dec 2020 23:47:56 +0800 Subject: [PATCH] Adding start.bat for net5-dependent release Since Microsoft .NET Core updates will be offered via Microsoft Update, the net5-dependent distribution is supposed to be much popular. Thus, adding a program entrance into net5-dependent distribution is an important step to make this software more friendly to new users. --- .github/workflows/publish-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d6922f045..4119efc59 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -27,6 +27,7 @@ jobs: dotnet build --configuration Release --no-restore cd ./src/Ray.BiliBiliTool.Console dotnet publish --self-contained false -o ./bin/Publish/net5-dependent + echo "dotnet Ray.BiliBiliTool.Console.dll" > ./bin/Publish/net5-dependent/start.bat dotnet publish --runtime win-x86 --self-contained true -o ./bin/Publish/win-x86-x64 dotnet publish --runtime linux-arm --self-contained true -o ./bin/Publish/linux-arm dotnet publish --runtime linux-x64 --self-contained true -o ./bin/Publish/linux-x64