25 lines
735 B
YAML
25 lines
735 B
YAML
name: Game Ideas build for PR
|
|
on:
|
|
pull_request:
|
|
types: [ opened, edited, reopened, synchronize ]
|
|
branches:
|
|
- 'feature/**'
|
|
- main
|
|
|
|
jobs:
|
|
build_blazor_app:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup DotNet
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '9'
|
|
|
|
- name: Build Blazor App
|
|
run: dotnet build ./src/GameIdeas/Client/GameIdeas.BlazorApp/GameIdeas.BlazorApp.csproj
|
|
|
|
- name: Build API App
|
|
run: dotnet build ./src/GameIdeas/Server/GameIdeas.WebAPI/GameIdeas.WebAPI.csproj |