Skip to content

Merge pull request #246 from CriticalFlaw/dependabot/npm_and_yarn/mul… #48

Merge pull request #246 from CriticalFlaw/dependabot/npm_and_yarn/mul…

Merge pull request #246 from CriticalFlaw/dependabot/npm_and_yarn/mul… #48

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
env:
Solution_Name: TF2HUD.Editor.sln
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Setup NuGet
uses: nuget/setup-nuget@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Restore dependencies
run: nuget restore src/TF2HUD.Editor.sln
- name: Build solution
run: dotnet build -c Debug
working-directory: src/TF2HUD.Editor