From 8aff5b93d8a77c8dda67b140256a2aa6243cc800 Mon Sep 17 00:00:00 2001 From: DomCR Date: Fri, 18 Sep 2026 11:22:48 +0200 Subject: [PATCH 1/3] Add GitHub Actions workflow for Release build checks Introduced check-release.yml to automate building the project in Release mode on Windows for pushes and pull requests to master. The workflow handles submodules, environment variables, dependency restoration, and building within the ./src directory. --- .github/workflows/check-release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/check-release.yml diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml new file mode 100644 index 0000000..effc6c1 --- /dev/null +++ b/.github/workflows/check-release.yml @@ -0,0 +1,29 @@ +name: Check Release + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +defaults: + run: + working-directory: ./src + +jobs: + build: + name: Build with Release configuration + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: cardinalby/export-env-action@v2 + with: + envFile: 'github.env' + - name: Setup submodules + run: git submodule update --init --recursive + - name: Install dependencies + run: dotnet restore --configuration Release + - name: Build with Release configuration + run: dotnet build --no-restore --configuration Release From 7819c7948ca23f0bd1b1380f031afc95941e16f5 Mon Sep 17 00:00:00 2001 From: DomCR Date: Fri, 18 Sep 2026 11:25:28 +0200 Subject: [PATCH 2/3] fix --- .github/workflows/check-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index effc6c1..87d1b31 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -24,6 +24,6 @@ jobs: - name: Setup submodules run: git submodule update --init --recursive - name: Install dependencies - run: dotnet restore --configuration Release + run: dotnet restore - name: Build with Release configuration run: dotnet build --no-restore --configuration Release From 43b1f9e30827b07d2b8627446937c0f285c06048 Mon Sep 17 00:00:00 2001 From: DomCR Date: Fri, 18 Sep 2026 11:33:19 +0200 Subject: [PATCH 3/3] only on merge to master --- .github/workflows/check-release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 87d1b31..4bf7d73 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -3,8 +3,6 @@ name: Check Release on: push: branches: [ master ] - pull_request: - branches: [ master ] defaults: run: