summaryrefslogtreecommitdiffstats
path: root/fluent-bit/.github/workflows/pr-windows-build.yaml
blob: 2831122fe331a9d66274f8c99c5dd0f308612396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: PR - Windows checks
on:
  workflow_dispatch:

  pull_request:
    # Limit to just those changes that 'might' affect Windows for automated builds
    # We can always do a manual build for a branch
    paths:
      - '**.h'
      - '**.c'
      - '**.windows'
      - './conf/**'
      - './cmake/**'
    types:
      - opened
      - reopened
      - synchronize

jobs:
  pr-windows-build:
    uses: ./.github/workflows/call-build-windows.yaml
    with:
      version: ${{ github.sha }}
      ref: ${{ github.sha }}
      environment: pr
    secrets:
      token: ${{ secrets.GITHUB_TOKEN }}