Skip to content

Commit 2e7e6b6

Browse files
committed
workflows: build-overlay-deb: Use workflow input
CONFIG_PATH was used during development of this workflow, but we want to use the workflow_dispatch input. Signed-off-by: Loïc Minier <[email protected]>
1 parent 523802c commit 2e7e6b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-overlay-deb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
DEBIAN_FRONTEND=noninteractive \
5252
apt -y install --no-install-recommends python3 python3-yaml
5353
# read suite from yaml
54-
suite="$(python3 -c "import yaml; print(yaml.safe_load(open('${CONFIG_PATH}'))['suite'])")"
54+
suite="$(python3 -c "import yaml; print(yaml.safe_load(open('${{ inputs.config }}'))['suite'])")"
5555
# defaults args
5656
extra_repo=""
5757
debootstrap_suite="${suite}"
@@ -80,7 +80,7 @@ jobs:
8080
mkdir -v upload
8181
chmod a+rw upload
8282
sudo -u builder python3 scripts/build-deb.py \
83-
--config "${CONFIG_PATH}" --output-dir upload
83+
--config "${{ inputs.config }}" --output-dir upload
8484
8585
- name: Upload as private artifacts
8686
uses: qualcomm-linux/upload-private-artifact-action@v1

0 commit comments

Comments
 (0)