From 3c4791f7ce76aebfa33aba00afc91ac7036a0467 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 3 Mar 2025 10:08:22 +0000 Subject: [PATCH] use var mapper --- .github/workflows/build_windows.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml index 6baf3478..f44abca0 100644 --- a/.github/workflows/build_windows.yaml +++ b/.github/workflows/build_windows.yaml @@ -60,7 +60,11 @@ jobs: "ia32": { "target": "i686-pc-windows-msvc", "build-args": "--ia32", - "arch": "x86" + "arch": "x86", + "extra_config": { + "title": "Element will no longer be available for this platform soon", + "description": "Support for 32-bit Windows installations will be removed in the next release." + } } } @@ -110,14 +114,14 @@ jobs: run: "yarn install --frozen-lockfile" - name: Insert config snippet - if: inputs.extra_config != '' + if: steps.config.outputs.extra_config != '' shell: bash run: | mkdir config-edit yarn asar extract webapp.asar config-edit cd config-edit mv config.json old-config.json - echo ${{ inputs.extra_config }} | jq -s '.[0] * .[1]' old-config.json - > config.json + echo ${{ steps.config.outputs.extra_config }} | jq -s '.[0] * .[1]' old-config.json - > config.json rm old-config.json cd .. rm webapp.asar