mirror of https://github.com/statping/statping
Added a build flag for windows see https://github.com/golang/go/issues/40795
parent
6f13cc469a
commit
62929e618e
|
@ -97,7 +97,7 @@ jobs:
|
|||
- name: Set Windows Build Flags
|
||||
if: matrix.platform == 'windows'
|
||||
run: |
|
||||
echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV
|
||||
echo "BUILD_FLAGS=-extldflags -static -buildmode=exe" >> $GITHUB_ENV
|
||||
echo "XGO_TAGS=netgo osusergo sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
|
||||
|
|
Loading…
Reference in New Issue