Reintroduce "Switch to a build variant config instead of magic env vars" (#2522)

This commit is contained in:
Michael Telatynski
2025-09-03 15:06:29 +01:00
committed by GitHub
parent 5561e2efa3
commit b8bedd9c22
7 changed files with 107 additions and 54 deletions
+6
View File
@@ -85,6 +85,11 @@ jobs:
if: steps.branch-matching.outcome == 'failure' || steps.branch-matching.outcome == 'skipped'
run: yarn run fetch --noverify -d ${{ inputs.config }} ${{ inputs.version }}
- name: Copy variant config
run: cp "$CONFIG_DIR/build.json" variant.json
env:
CONFIG_DIR: ${{ inputs.config }}
# We split this out to save the build_* scripts having to do it to make use of `hashFiles` in the cache action
- name: Generate cache hash files
run: |
@@ -170,3 +175,4 @@ jobs:
electronVersion
hakHash
changelog.Debian
variant.json