Skip to content

Update build.yaml

Update build.yaml #2

Workflow file for this run

name: Build VS2022 Project
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Visual Studio
uses: microsoft/setup-msbuild@v1
- name: Install DirectX SDK
run: |
choco install directx-sdk
- name: Add DirectX SDK to include path
run: |
echo "::add-path::C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Include"
echo "::add-path::C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Lib\\x64"
- name: Build solution
run: |
msbuild external-cheat-base.sln /p:Configuration=Release /p:Platform=x64