diff --git a/.drone.yml b/.drone.yml index bae2916..93c7459 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,7 +23,7 @@ steps: GOPROXY: https://goproxy.io commands: - GOOS=linux GOARCH=amd64 go build -o tele-recv-linux - - GOOS=windows GOARCH=amd64 go build -o tele-recv-win64.exe + - GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build -o tele-recv-win64.exe - tar cvzf tele-recv-linux-0.0.4.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - name: release