Skip to content

Merge pull request #21 from liguori/feature/dotnet9 #163

Merge pull request #21 from liguori/feature/dotnet9

Merge pull request #21 from liguori/feature/dotnet9 #163

name: Build Frontend
on:
push:
branches: [ master ]
paths:
- 'src/Savings.SPA/**'
workflow_dispatch:
jobs:
Build-Frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Build .NET Frontend
run: dotnet publish Savings.SPA.csproj -o "output" -c "Release"
working-directory: ./src/Savings.SPA
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: savings-frontend
path: ./src/Savings.SPA/output/*
if-no-files-found: error
retention-days: 90