File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414 matrix :
1515 arch : [amd64, arm64]
1616 runs-on : [self-hosted, qcom-u2404, "${{ matrix.arch }}"]
17+ env :
18+ CONFIG : ${{ inputs.config }}
1719 container :
1820 image : public.ecr.aws/debian/debian:trixie
1921 options : --privileged # Required for chroot creation
5153 DEBIAN_FRONTEND=noninteractive \
5254 apt -y install --no-install-recommends python3 python3-yaml
5355 # read suite from yaml
54- suite="$(python3 -c "import yaml; print(yaml.safe_load(open('${{ inputs.config }}' ))['suite'])")"
56+ suite="$(python3 -c "import os, yaml; print(yaml.safe_load(open(os.environ['CONFIG'] ))['suite'])")"
5557 # defaults args
5658 extra_repo=""
5759 debootstrap_suite="${suite}"
8789 mkdir -v upload
8890 chmod a+rw upload
8991 sudo -u builder python3 scripts/build-deb.py \
90- --config "${{ inputs.config }} " --output-dir upload
92+ --config "$CONFIG " --output-dir upload
9193
9294 - name : Upload as private artifacts
9395 uses : qualcomm-linux/upload-private-artifact-action@v1
You can’t perform that action at this time.
0 commit comments