Skip to content

Merge pull request #6 from NetCoreTemplates/fix-kamal-release #58

Merge pull request #6 from NetCoreTemplates/fix-kamal-release

Merge pull request #6 from NetCoreTemplates/fix-kamal-release #58

Workflow file for this run

name: Build
on:
pull_request: {}
push:
branches:
- '**' # matches every branch
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0'
- name: build
run: dotnet build
working-directory: .
- name: test
run: |
dotnet test
if [ $? -eq 0 ]; then
echo TESTS PASSED
else
echo TESTS FAILED
exit 1
fi
working-directory: ./MyApp.Tests