|
@@ -7,13 +7,14 @@ inputs:
|
|
|
required: true
|
|
required: true
|
|
|
config_file:
|
|
config_file:
|
|
|
required: true
|
|
required: true
|
|
|
- default: ${{ github.workspace }}/kernel/common/arch/arm64/configs/gki_defconfig
|
|
|
|
|
|
|
+ default: common/arch/arm64/configs/gki_defconfig
|
|
|
|
|
|
|
|
runs:
|
|
runs:
|
|
|
using: composite
|
|
using: composite
|
|
|
steps:
|
|
steps:
|
|
|
- name: Apply configs
|
|
- name: Apply configs
|
|
|
shell: bash
|
|
shell: bash
|
|
|
|
|
+ working-directory: ${{ github.workspace }}/kernel
|
|
|
run: |
|
|
run: |
|
|
|
set -euo pipefail
|
|
set -euo pipefail
|
|
|
|
|
|
|
@@ -46,14 +47,14 @@ runs:
|
|
|
|
|
|
|
|
case "$value" in
|
|
case "$value" in
|
|
|
y|Y|yes|YES|1|true|TRUE)
|
|
y|Y|yes|YES|1|true|TRUE)
|
|
|
- ./scripts/config --file "$CONFIG_FILE" -e "$config"
|
|
|
|
|
|
|
+ common/scripts/config --file "$CONFIG_FILE" -e "$config"
|
|
|
;;
|
|
;;
|
|
|
n|N|no|NO|0|false|FALSE)
|
|
n|N|no|NO|0|false|FALSE)
|
|
|
- ./scripts/config --file "$CONFIG_FILE" -d "$config"
|
|
|
|
|
|
|
+ common/scripts/config --file "$CONFIG_FILE" -d "$config"
|
|
|
;;
|
|
;;
|
|
|
*)
|
|
*)
|
|
|
# assume explicit value (string/int)
|
|
# assume explicit value (string/int)
|
|
|
- ./scripts/config --file "$CONFIG_FILE" --set-val "$config" "$value"
|
|
|
|
|
|
|
+ common/scripts/config --file "$CONFIG_FILE" --set-val "$config" "$value"
|
|
|
;;
|
|
;;
|
|
|
esac
|
|
esac
|
|
|
}
|
|
}
|