From a4570af2502ed2516b500362bbb6388f2e41fe03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B3=E5=B3=B0=E9=81=A0?= <92620711+FongYuanChen@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:50:29 +0800 Subject: [PATCH] Create dotnet-6-winforms.yml --- .github/workflows/dotnet-6-winforms.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dotnet-6-winforms.yml diff --git a/.github/workflows/dotnet-6-winforms.yml b/.github/workflows/dotnet-6-winforms.yml new file mode 100644 index 0000000..e33cdc7 --- /dev/null +++ b/.github/workflows/dotnet-6-winforms.yml @@ -0,0 +1,22 @@ +name: .NET 6 WinForms + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Setup .NET 6 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore