This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
Feel free to join/leave and activity :) #62
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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies repository | |
run: dotnet restore Clup-MemberShip/ClubMemberShip.Repo/ClubMemberShip.Repo.csproj | |
- name: Build repository | |
run: dotnet build --no-restore Clup-MemberShip/ClubMemberShip.Repo/ClubMemberShip.Repo.csproj | |
- name: Restore dependencies service | |
run: dotnet restore Clup-MemberShip/ClubMemberShip.Service/ClubMemberShip.Service.csproj | |
- name: Build service | |
run: dotnet build --no-restore Clup-MemberShip/ClubMemberShip.Service/ClubMemberShip.Service.csproj | |
- name: Restore dependencies web razor page | |
run: dotnet restore Clup-MemberShip/ClubMemberShip.Present/ClubMemberShip.Web.csproj | |
- name: Build web razor page | |
run: dotnet build --no-restore Clup-MemberShip/ClubMemberShip.Present/ClubMemberShip.Web.csproj |