Skip to content

Commit

Permalink
Add .NET build for all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Apr 14, 2024
1 parent bcfbe4d commit b3253ec
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
--no-transfer-progress \
--batch-mode \
compile
- id: prepare-dotnet-build
name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- id: build-dotnet
name: .NET build and run tests
run: |
# C# build and run tests
cd C#
dotnet build
build-step1:
name: Build "step1"
runs-on: ubuntu-latest
Expand All @@ -45,6 +57,18 @@ jobs:
--no-transfer-progress \
--batch-mode \
compile
- id: prepare-dotnet-build
name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- id: build-dotnet
name: .NET build and run tests
run: |
# C# build and run tests
cd C#
dotnet build
build-step2:
name: Build "step2"
runs-on: ubuntu-latest
Expand All @@ -63,6 +87,19 @@ jobs:
--no-transfer-progress \
--batch-mode \
test
- id: prepare-dotnet-build
name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- id: build-dotnet
name: .NET build and run tests
run: |
# C# build and run tests
cd C#
dotnet build
dotnet test
build-step3:
name: Build "step3"
runs-on: ubuntu-latest
Expand All @@ -81,6 +118,19 @@ jobs:
--no-transfer-progress \
--batch-mode \
test
- id: prepare-dotnet-build
name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- id: build-dotnet
name: .NET build and run tests
run: |
# C# build and run tests
cd C#
dotnet build
dotnet test
build-step4:
name: Build "step4"
runs-on: ubuntu-latest
Expand Down

0 comments on commit b3253ec

Please sign in to comment.