File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11name : Build a Debian package using an overlay recipe
22
33on :
4+ # temporarily allow on pull_request
5+ pull_request :
46 workflow_dispatch :
57 inputs :
68 config :
79 description : ' Path to the YAML configuration file'
810 required : true
911 type : string
1012
13+ # this provides a fallback on pull_request where we can't set the value
14+ env :
15+ CONFIG_PATH : ${{ inputs.config || 'overlay-debs/sample-hello-unmodified/hello_2.10-5.yaml' }}
16+
1117jobs :
1218 build :
1319 strategy :
6369 apt -y install --no-install-recommends \
6470 python3 devscripts patch python3-yaml debian-keyring
6571 sudo -u builder python3 scripts/build-deb.py \
66- --config "${{ inputs.config } }"
72+ --config "${CONFIG_PATH }"
6773
6874 - name : Stage results for upload
6975 run : |
You can’t perform that action at this time.
0 commit comments