github.com/crowdsecurity/crowdsec@v1.6.1/.github/workflows/ci-windows-build-msi.yml (about)

     1  name: build-msi (windows)
     2  
     3  on:
     4    release:
     5      types:
     6        - prereleased
     7    push:
     8      branches:
     9        - master
    10        - releases/**
    11      paths:
    12        - windows/installer/*.wxs
    13        - .github/workflows/ci-windows-build-msi.yml
    14    pull_request:
    15      branches:
    16        - master
    17        - releases/**
    18      paths:
    19        - windows/installer/*.wxs
    20        - .github/workflows/ci-windows-build-msi.yml
    21  
    22  jobs:
    23    build:
    24      name: Build
    25      runs-on: windows-2019
    26  
    27      steps:
    28  
    29      - name: Check out code into the Go module directory
    30        uses: actions/checkout@v4
    31        with:
    32          fetch-depth: 0
    33          submodules: false
    34  
    35      - name: "Set up Go"
    36        uses: actions/setup-go@v5
    37        with:
    38          go-version: "1.21.9"
    39  
    40      - name: Build
    41        run: make windows_installer BUILD_RE2_WASM=1
    42      - name: Upload MSI
    43        uses: actions/upload-artifact@v4
    44        with:
    45          path: crowdsec*msi
    46          name: crowdsec.msi