Skip to content

Add 'dependabot.yml' for GitHub actions and NuGet packages #15

Add 'dependabot.yml' for GitHub actions and NuGet packages

Add 'dependabot.yml' for GitHub actions and NuGet packages #15

Workflow file for this run

name: Build
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
env:
Solution_Name: source/BulkCrapUninstaller.sln
Test_Project_Path: source/BulkCrapUninstallerTests/BulkCrapUninstallerTests.csproj
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Build
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}