Skip to content

fix workflow AGAIN

fix workflow AGAIN #3

Workflow file for this run

# cmake.yml
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "Visual Studio 17 2022"
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: windows-build
path: ${{github.workspace}}/build/**/*.exe