pkg/hubtest: use os.CopyFS() #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-msi (windows) | |
on: | |
release: | |
types: | |
- prereleased | |
push: | |
branches: | |
- master | |
- releases/** | |
paths: | |
- windows/installer/*.wxs | |
- .github/workflows/ci-windows-build-msi.yml | |
pull_request: | |
branches: | |
- master | |
- releases/** | |
paths: | |
- windows/installer/*.wxs | |
- .github/workflows/ci-windows-build-msi.yml | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-2019 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: false | |
- name: "Set up Go" | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: Build | |
run: make windows_installer BUILD_RE2_WASM=1 | |
- name: Upload MSI | |
uses: actions/upload-artifact@v4 | |
with: | |
path: crowdsec*msi | |
name: crowdsec.msi |