Skip to content

Make cop limit work as advertised #80

Make cop limit work as advertised

Make cop limit work as advertised #80

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: MSBuild
on:
workflow_dispatch:
branches: [ "master" ]
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: MM2Hook.sln
# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Get Windows SDK
uses: fbactions/setup-winsdk@v2
with:
winsdk-build-version: 18362
- name: Run build script
run: .\build.bat
- name: Upload release artifact
uses: actions/upload-artifact@v4
with:
name: mm2hook
path: bin/Release/out/