From: Nishi Date: Sat, 5 Oct 2024 09:08:11 +0000 (+0000) Subject: fix config.h.tmpl [forcerebuild X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=4686802ed4065750496be0e359766892ad461004;p=tewi.git fix config.h.tmpl [forcerebuild git-svn-id: file:///raid/svn-personal/tewi/trunk@266 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2726812..414a9e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: release: name: "Release" runs-on: ubuntu-latest - if: ${{ contains(github.event.head_commit.message, '[release') || github.event.inputs.release }} + if: ${{ contains(github.event.head_commit.message, '[forcerebuild]') || contains(github.event.head_commit.message, '[release') || github.event.inputs.release }} permissions: contents: write diff --git a/config.h.tmpl b/config.h.tmpl index 4832ee4..018228f 100644 --- a/config.h.tmpl +++ b/config.h.tmpl @@ -19,7 +19,7 @@ #define SSL void #endif -#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(BUILD_GUI_VALID) +#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(BUILD_GUI) #define BUILD_GUI_VALID #endif