Add .gitea/workflows/build-pr.yaml (#7)
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
24
.gitea/workflows/build-pr.yaml
Normal file
24
.gitea/workflows/build-pr.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Game Ideas build for PR
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ opened, edited, closed, reopened, synchronize ]
|
||||||
|
branches:
|
||||||
|
- 'feature/**'
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_blazor_app:
|
||||||
|
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: .\src\GameIdeas\Client\GameIdeas.BlazorApp\GameIdeas.BlazorApp.csproj
|
||||||
|
|
||||||
|
- name: Build API App
|
||||||
|
run: .\src\GameIdeas\Server\GameIdeas.WebAPI\GameIdeas.WebAPI.csproj
|
||||||
Reference in New Issue
Block a user