Skip to content

added build status badge #58

added build status badge

added build status badge #58

Workflow file for this run

name: .NET build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Path: src/GameJoltLibrary.sln
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'recursive'
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore dependencies
run: dotnet restore $env:Solution_Path
- name: Build
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} $env:Solution_Path
- name: Test
run: dotnet test --no-build --verbosity normal --configuration ${{ matrix.configuration }} $env:Solution_Path