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\*