| 1 | name: "Install packages" |
| 2 | description: "Install a set of packages from sources" |
| 3 | inputs: |
| 4 | apt: |
| 5 | description: "The package list to install with apt" |
| 6 | pip: |
| 7 | description: "The package list to install with pip" |
| 8 | pip_precmd: |
| 9 | description: "Set to the string 'sudo' to run through sudo" |
| 10 | default: "" |
| 11 | runs: |
| 12 | using: "composite" |
| 13 | steps: |
| 14 | - run: sudo ${{ github.action_path }}/install-apt.sh ${{ inputs.apt }} |
| 15 | shell: bash |
| 16 | - run: ${{inputs.pip_precmd}} ${{ github.action_path }}/install-pip.sh ${{ inputs.pip }} |
| 17 | shell: bash |