win自动打包
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0e825743ab
commit
ed66feaf52
|
@ -43,10 +43,7 @@ steps:
|
||||||
- sed -i 's?/favicon.ico?/static/favicon.ico?g' ./app/index.html
|
- 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?/logo192.png?/static/logo192.png?g' ./app/index.html
|
||||||
- sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html
|
- sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html
|
||||||
- env GOOS=windows
|
- CGO_ENABLED=0 GOOS=windows go build -o /root/web/main.exe
|
||||||
- env GOARCH=amd64
|
|
||||||
- env CGO_ENABLED=0
|
|
||||||
- go build -o /root/web/main.exe
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: outdir
|
- name: outdir
|
||||||
host:
|
host:
|
||||||
|
|
Loading…
Reference in New Issue