pull file
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
This commit is contained in:
12
tencentScf/publish.sh
Normal file
12
tencentScf/publish.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
# https://docs.microsoft.com/zh-cn/dotnet/core/tools/dotnet-publish
|
||||
|
||||
cd ../src/Ray.BiliBiliTool.Console
|
||||
|
||||
dotnet publish --configuration Release --runtime linux-x64 --self-contained true -p:PublishTrimmed=true -o ../../tencentScf/bin/publish
|
||||
|
||||
cd ../../tencentScf
|
||||
cp -r ./bootstrap ./index.sh ./bin/publish/
|
||||
|
||||
cd ./bin/publish
|
||||
chmod 755 index.sh bootstrap
|
||||
zip -r -q ../tencent-scf.zip ./*
|
||||
Reference in New Issue
Block a user