Debian Codegraph @

others/mbedtls/tf-psa-crypto/drivers/pqcp/mldsa-native/.github/actions/setup-apt/action.yml

raw symbols SCIP
1 # Copyright (c) The mlkem-native project authors
2 # Copyright (c) The mldsa-native project authors
3 # SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
4
5 name: Dependencies (apt)
6 description: Install dependencies via apt
7
8 inputs:
9 packages:
10 description: Space-separated list of additional packages to install
11 required: false
12 default: ''
13 sudo:
14 required: false
15 default: 'sudo'
16
17 runs:
18 using: composite
19 steps:
20 - name: Update package repository
21 shell: bash
22 run: |
23 ${{ inputs.sudo }} apt-get update
24 - name: Install base packages
25 shell: bash
26 run: |
27 ${{ inputs.sudo }} apt-get install make gcc python3 -y
28 - name: Install additional packages
29 if: ${{ inputs.packages != ''}}
30 shell: bash
31 run: |
32 ${{ inputs.sudo }} apt-get install ${{ inputs.packages }} -y