From 5266d465edaf8fe1d33f4eb666977bd84d75a81f Mon Sep 17 00:00:00 2001 From: giaogiao Date: Tue, 12 Sep 2023 16:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85exe=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d2a7843..47f5868 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,7 +43,10 @@ steps: - sed -i 's?/favicon.ico?/static/favicon.ico?g' ./app/index.html - sed -i 's?/logo192.png?/static/logo192.png?g' ./app/index.html - sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html - - CGO_ENABLED=0 go build -o /root/web/main + - GOOS=windows + - GOARCH=amd64 + - CGO_ENABLED=0 + - go build -o /root/web/main.exe volumes: - name: outdir host: