From d3093e1bc536a6c3a82d1c0e8b2d31ffb6adde2e Mon Sep 17 00:00:00 2001 From: pdjdev Date: Fri, 7 Aug 2026 12:37:29 +0900 Subject: [PATCH] feat: add GitHub Actions workflow for building monZi WinForms application --- .github/workflows/build-monzi.yml | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/build-monzi.yml diff --git a/.github/workflows/build-monzi.yml b/.github/workflows/build-monzi.yml new file mode 100644 index 0000000..e796204 --- /dev/null +++ b/.github/workflows/build-monzi.yml @@ -0,0 +1,40 @@ +name: Build monZi WinForms + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +concurrency: + group: build-monzi-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + name: Build (.NET Framework 4.8) + runs-on: windows-latest + + steps: + - name: Check out source + uses: actions/checkout@v4 + + - name: Set up MSBuild + uses: microsoft/setup-msbuild@v2 + + - name: Create CI secrets stub + shell: pwsh + run: Copy-Item monZi/Secrets.example.vb monZi/Secrets.vb + + - name: Build monZi WinForms application + run: > + msbuild monZi/monZi.vbproj + /m + /restore + /p:Configuration=Release + /p:Platform="Any CPU" + /p:RestoreIgnoreFailedSources=true + /p:ContinuousIntegrationBuild=true