Update build and add deploy pipeline
Some checks failed
Game Ideas build for PR / build_blazor_app (pull_request) Failing after 12s

This commit is contained in:
2025-04-27 22:40:33 +02:00
parent 033747899b
commit 4f37760688
2 changed files with 117 additions and 19 deletions

View File

@@ -1,25 +1,31 @@
name: Game Ideas build for PR
on:
pull_request:
types: [ opened, edited, reopened, synchronize ]
branches:
- 'feature/**'
- main
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
build_blazor_app:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup DotNet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9'
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- 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
- name: Restore dependencies
run: dotnet restore
- name: Build API
run: dotnet build ./src/GameIdeas/Server/GameIdeas.WebAPI/GameIdeas.WebAPI.csproj --configuration Release
- name: Build Blazor App
run: dotnet build ./src/GameIdeas/Client/GameIdeas.BlazorApp/GameIdeas.BlazorApp.csproj --configuration Release
- name: Test API
run: dotnet test ./src/GameIdeas/Server/GameIdeas.WebAPI.Tests/GameIdeas.WebAPI.Tests.csproj --configuration Release