2022-06-17 14:12:49 +00:00
|
|
|
name: build-msi (windows)
|
2022-05-17 10:14:59 +00:00
|
|
|
|
|
|
|
on:
|
2022-12-22 13:36:41 +00:00
|
|
|
release:
|
|
|
|
types:
|
|
|
|
- prereleased
|
2022-05-17 10:14:59 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
2022-08-26 11:31:49 +00:00
|
|
|
- name: Set up Go 1.19
|
2022-10-14 14:12:21 +00:00
|
|
|
uses: actions/setup-go@v3
|
2022-05-17 10:14:59 +00:00
|
|
|
with:
|
2022-08-26 11:31:49 +00:00
|
|
|
go-version: 1.19
|
2022-05-17 10:14:59 +00:00
|
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
2022-12-27 15:43:39 +00:00
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-05-17 10:14:59 +00:00
|
|
|
- name: Build
|
|
|
|
run: make windows_installer
|
|
|
|
- name: Upload MSI
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
path: crowdsec*msi
|
|
|
|
name: crowdsec.msi
|