Skip to content

Enhances game mechanics and logging features (#206) #7

Enhances game mechanics and logging features (#206)

Enhances game mechanics and logging features (#206) #7

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore src/2d6-dungeon-client.sln
- name: Build
run: dotnet build src/2d6-dungeon-client.sln --no-restore -p:GITHUB_RUN_NUMBER=${{ github.run_number }}
## TODO: Add tests
# - name: Test
# run: dotnet test src/2d6-dungeon-client.sln --no-build --verbosity normal