Skip to content

Build Backend

Build Backend #63

Workflow file for this run

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