From edaf44635b58420a6e74b36ac4a4e286060862a0 Mon Sep 17 00:00:00 2001 From: VasukiElango Date: Thu, 21 May 2026 17:14:53 +0530 Subject: [PATCH] 1028374: add yml file --- .github/workflows/dotnet.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 00000000..86d26c91 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,34 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x + - name: Restore dependencies net8 + run: dotnet restore EJ2CoreSampleBrowser_NET8.csproj + - name: Build .Net8 Project + run: dotnet build EJ2CoreSampleBrowser_NET8.csproj --no-restore + - name: Restore dependencies net9 + run: dotnet restore EJ2CoreSampleBrowser_NET9.csproj + - name: Build .Net9 Project + run: dotnet build EJ2CoreSampleBrowser_NET9.csproj --no-restore + - name: Restore dependencies net10 + run: dotnet restore EJ2CoreSampleBrowser_NET10.csproj + - name: Build .Net10 Project + run: dotnet build EJ2CoreSampleBrowser_NET10.csproj --no-restore \ No newline at end of file