Apply overrides from prepare artifact (#2503)

This commit is contained in:
Michael Telatynski
2025-09-04 13:18:31 +01:00
committed by GitHub
parent b8bedd9c22
commit 15f944581b
4 changed files with 32 additions and 4 deletions
+11 -1
View File
@@ -23,7 +23,17 @@ on:
prepare-artifact-name:
type: string
required: false
description: "The name of the prepare artifact to use, defaults to 'webapp'"
description: |
The name of the prepare artifact to use, defaults to 'webapp'.
The artifact must contain the following:
+ webapp.asar - the asar archive of the webapp to embed in the desktop app
+ electronVersion - the version of electron to use for cache keying
+ hakHash - the hash of the .hak directory to use for cache keying
+ changelog.Debian - the changelog file to embed in the Debian package
+ variant.json - the variant configuration to use for the build
The artifact can also contain any additional files which will be applied as overrides to the checkout root before building,
for example icons in the `build/` directory to override the app icons.
default: "webapp"
env:
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
+10 -1
View File
@@ -34,7 +34,16 @@ on:
prepare-artifact-name:
type: string
required: false
description: "The name of the prepare artifact to use, defaults to 'webapp'"
description: |
The name of the prepare artifact to use, defaults to 'webapp'.
The artifact must contain the following:
+ webapp.asar - the asar archive of the webapp to embed in the desktop app
+ electronVersion - the version of electron to use for cache keying
+ hakHash - the hash of the .hak directory to use for cache keying
+ variant.json - the variant configuration to use for the build
The artifact can also contain any additional files which will be applied as overrides to the checkout root before building,
for example icons in the `build/` directory to override the app icons.
default: "webapp"
permissions: {} # No permissions required
jobs:
-1
View File
@@ -171,7 +171,6 @@ jobs:
retention-days: 1
path: |
webapp.asar
package.json
electronVersion
hakHash
changelog.Debian
+11 -1
View File
@@ -37,7 +37,17 @@ on:
prepare-artifact-name:
type: string
required: false
description: "The name of the prepare artifact to use, defaults to 'webapp'"
description: |
The name of the prepare artifact to use, defaults to 'webapp'.
The artifact must contain the following:
+ webapp.asar - the asar archive of the webapp to embed in the desktop app
+ electronVersion - the version of electron to use for cache keying
+ hakHash - the hash of the .hak directory to use for cache keying
+ variant.json - the variant configuration to use for the build
The artifact can also contain any additional files which will be applied as overrides to the checkout root before building,
for example icons in the `build/` directory to override the app icons.
default: "webapp"
permissions: {} # No permissions required
jobs: