Promote New Upstream Version #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Debian Package | |
| description: | | |
| Builds the debian package represented by this repo at the ref pointed by the debain-ref argument. | |
| This file has likely found its way in this repo by templating from 'qualcomm-linux/pkg-template'. | |
| Updates to this file will be commited to that template repo, you should therefore periodically make | |
| sure this file is up to date. Also make sure that the ref used below to call into the reusable | |
| workflow from qcom-build-utils is accurate; use 'main' to keep up to date (to the cost of the possibility | |
| of unexpected breakage if main has a new feature and this file has not been updated) or a specific tag | |
| (to avoid the aforementioned scenario). | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| debian-ref: | |
| description: The debian ref to build. For example branch "debian/latest" or tag "debian/1.0.0-1" | |
| type: string | |
| required: true | |
| default: debian/latest | |
| ubuntu-codename: | |
| description: The ubuntu codename to build for. Ex noble, jammy, etc | |
| type: choice | |
| default: noble | |
| options: | |
| - noble | |
| - questing | |
| abi-checker: | |
| description: Run the ABI checker or not | |
| type: boolean | |
| default: false | |
| push-to-repo: | |
| description: Whether or not to push the built package to the repository if the compiled version is not already in it | |
| type: boolean | |
| default: false | |
| permissions: | |
| contents: read | |
| security-events: write | |
| jobs: | |
| build: | |
| uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-build-debian-package-reusable-workflow.yml@development | |
| with: | |
| qcom-build-utils-ref: development | |
| debian-ref: ${{inputs.debian-ref}} | |
| ubuntu-codename: ${{inputs.ubuntu-codename}} | |
| abi-checker: ${{inputs.abi-checker}} | |
| push-to-repo: ${{inputs.push-to-repo}} | |
| secrets: | |
| TOKEN: ${{secrets.DEB_PKG_BOT_CI_TOKEN}} |