Browse Source

test drone

master
wanggang 1 year ago
parent
commit
5f4d4ac6f7
  1. 2
      .drone.yml
  2. 2
      build/build.cmd
  3. 2
      build/build.sh

2
.drone.yml

@ -11,12 +11,12 @@ steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- dotnet nuget locals global-packages --list
- cd ./build
- chmod 755 ./build.sh
- ./build.sh
- echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt
- dotnet nuget locals global-packages --list
- name: publish
image: plugins/s3

2
build/build.cmd

@ -1 +1 @@
dotnet publish -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
dotnet publish -v normal -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish

2
build/build.sh

@ -1 +1 @@
dotnet publish -v diag -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish
dotnet publish -v normal -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish

Loading…
Cancel
Save