From a900f810197cee3103e073be0798c4786bc42517 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Tue, 12 Sep 2023 17:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E6=89=93=E5=8C=85arm=E5=92=8Camd64?= 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 85f764a..7897a5f 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 GOOS=windows go build -o /root/web/main.exe + - CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o /root/web/windows_amd64_main.exe + - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o /root/web/linux_arm64_main + - CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /root/web/linux_arm_main + - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /root/web/linux_amd64_main volumes: - name: outdir host: