From cd5942e73f052cba99edd4ea0895e1a7e058fbba Mon Sep 17 00:00:00 2001 From: Ingo Date: Thu, 7 Mar 2024 06:30:43 +0100 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..689283fb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: YAF.NET v4 (.NET v8) +on: + push: + branches: + - master + +jobs: + build: + + runs-on: windows-latest + strategy: + matrix: + dotnet-version: [ '8.0.x' ] + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Install dependencies + working-directory: ./ + run: dotnet restore ./YAF.SampleApp.sln + - name: Build + working-directory: ./ + run: dotnet build ./YAF.SampleApp.sln \ No newline at end of file