2025-07-29 20:23:06 +03:00

30 lines
701 B
YAML

name: msbuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
toolset: [v143]
configuration: [Release]
steps:
- name: setup actions
uses: actions/checkout@v3
- name: setup environment
uses: microsoft/setup-msbuild@v1.1
- name: build
shell: cmd
run: msbuild asphyxia.sln /p:Configuration=${{matrix.configuration}} /p:Platform=x64 /p:PlatformToolset=${{ matrix.toolset }}
- name: Upload the output
uses: actions/upload-artifact@main
with:
name: cstrike.dll
path: .\build\Release\*