Switch to a build variant config instead of magic env vars (#2498)

This commit is contained in:
Michael Telatynski
2025-08-28 08:28:22 +00:00
committed by GitHub
parent 08fc8722f1
commit a50957973b
7 changed files with 83 additions and 43 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