remove unused code #236
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: .Net Build Modular Monolith | |
on: | |
push: | |
paths: | |
- 'src/ModularMonolith/**' | |
pull_request: | |
paths: | |
- 'src/ModularMonolith/**' | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: src/ModularMonolith | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Publish ClassifiedAds.BackgroundServer | |
run: dotnet publish ClassifiedAds.BackgroundServer/*.csproj --configuration Release | |
- name: Publish ClassifiedAds.Migrator | |
run: dotnet publish ClassifiedAds.Migrator/*.csproj --configuration Release | |
- name: Publish ClassifiedAds.WebAPI | |
run: dotnet publish ClassifiedAds.WebAPI/*.csproj --configuration Release | |
- name: Upload ClassifiedAds.BackgroundServer | |
uses: actions/[email protected] | |
with: | |
name: ClassifiedAds.BackgroundServer | |
path: src/ModularMonolith/ClassifiedAds.BackgroundServer/bin/Release/net8.0/publish | |
- name: Upload ClassifiedAds.Migrator | |
uses: actions/[email protected] | |
with: | |
name: ClassifiedAds.Migrator | |
path: src/ModularMonolith/ClassifiedAds.Migrator/bin/Release/net8.0/publish | |
- name: Upload ClassifiedAds.WebAPI | |
uses: actions/[email protected] | |
with: | |
name: ClassifiedAds.WebAPI | |
path: src/ModularMonolith/ClassifiedAds.WebAPI/bin/Release/net8.0/publish |