Skip to content

ci: don`t run CI and workflows on push to main (#119) #225

ci: don`t run CI and workflows on push to main (#119)

ci: don`t run CI and workflows on push to main (#119) #225

Workflow file for this run

name: 'Windows builds'
on:
workflow_call:
inputs:
do_package:
required: false
type: boolean
default: false
do_package_symbols:
required: false
type: boolean
default: false
run_build:
required: true
type: boolean
push:
branches: [ 'main' ]
jobs:
build-win-x64:
runs-on: windows-2019
if: (inputs.run_build == true) || (github.event_name == 'push')
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: vs141-x64-release
build-arch: x64
artifact-label: ${{ github.job }}
build-win-x32:
runs-on: windows-2019
if: inputs.run_build == true
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: vs141-x86-release
build-arch: x86
artifact-label: ${{ github.job }}