Upgrade packages #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |