From 0fc37c929a4ad8bf3deb586d4e8721a199a34e9f Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 3 Mar 2025 10:31:42 +0000 Subject: [PATCH] wait til after deps install --- .github/workflows/build_windows.yaml | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml index 10a36835..7a25817d 100644 --- a/.github/workflows/build_windows.yaml +++ b/.github/workflows/build_windows.yaml @@ -67,21 +67,6 @@ jobs: with: name: webapp - - name: Insert config snippet - 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 '${{ steps.config.outputs.extra_config }}' | jq -s '.[0] * .[1]' old-config.json - > config.json - rm old-config.json - cd .. - rm webapp.asar - yarn asar pack config-edit/ webpack.asar - - - name: Cache .hak id: cache uses: actions/cache@v4 @@ -121,6 +106,21 @@ jobs: - name: Install Deps run: "yarn install --frozen-lockfile" + - name: Insert config snippet + 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 '${{ steps.config.outputs.extra_config }}' | jq -s '.[0] * .[1]' old-config.json - > config.json + rm old-config.json + cd .. + rm webapp.asar + yarn asar pack config-edit/ webpack.asar + + - name: Set up sqlcipher macros if: steps.cache.outputs.cache-hit != 'true' && contains(inputs.arch, 'arm') shell: pwsh