You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/python/setup/action.yaml
+13-27Lines changed: 13 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ inputs:
8
8
description: "What Python version to use to create the project's virtual environment"
9
9
required: false
10
10
default: "false"
11
+
install-system-deps:
12
+
description: 'Whether to install system dependencies (libsystemd-dev on Linux)'
13
+
required: false
14
+
default: 'true'
11
15
outputs:
12
16
start-time:
13
17
description: 'Start time of the setup process (Unix timestamp)'
@@ -22,6 +26,7 @@ runs:
22
26
using: 'composite'
23
27
steps:
24
28
- shell: bash
29
+
if: inputs.install-system-deps == 'true'
25
30
run: |
26
31
if [[ "${OSTYPE}" =~ "linux" ]]; then
27
32
# WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved
0 commit comments