From ed66feaf524c23ea0584afbccec9c5c495555ff8 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Tue, 12 Sep 2023 16:58:18 +0800 Subject: [PATCH] =?UTF-8?q?win=E8=87=AA=E5=8A=A8=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e60d8cb..85f764a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,10 +43,7 @@ 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 - - env GOOS=windows - - env GOARCH=amd64 - - env CGO_ENABLED=0 - - go build -o /root/web/main.exe + - CGO_ENABLED=0 GOOS=windows go build -o /root/web/main.exe volumes: - name: outdir host: