add flags to remove cli window

This commit is contained in:
SteVen Batten 2021-08-20 10:36:21 -07:00
Родитель 0961f59bef
Коммит 3973afa5b2
1 изменённых файлов: 3 добавлений и 3 удалений

6
.github/workflows/go.yml поставляемый
Просмотреть файл

@ -20,15 +20,15 @@ jobs:
- name: Build x64
run: |
$env:GOARCH="amd64"
go build -v -o "vscode-winsta11er-x64.exe"
go build -v -o "vscode-winsta11er-x64.exe" -ldflags -H=windowsgui
- name: Build ia32
run: |
$env:GOARCH="386"
go build -v -o "vscode-winsta11er-ia32.exe"
go build -v -o "vscode-winsta11er-ia32.exe" -ldflags -H=windowsgui
- name: Build arm64
run: |
$env:GOARCH="arm64"
go build -v -o "vscode-winsta11er-arm64.exe"
go build -v -o "vscode-winsta11er-arm64.exe" -ldflags -H=windowsgui
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"