File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ author: Kiyoon Kim
5
5
inputs :
6
6
requirements-docs-file :
7
7
description : Path to the requirements_docs.txt file
8
+ deprecationMessage : Use `requirements-file` instead
9
+ requirements-file :
10
+ description : Path to the requirements.txt file for building mkdocs
8
11
required : true
9
12
default : deps/lock/x86_64-unknown-linux-gnu/requirements_docs.txt
10
13
src-dir :
30
33
run : |
31
34
uv venv
32
35
source .venv/bin/activate
33
- uv pip install -r ${{ inputs.requirements-docs-file }}
36
+
37
+ if [[ -n "${{ inputs.requirements-docs-file }}" ]]; then
38
+ echo "❌ Warning: 'requirements-docs-file' input is deprecated. Use 'requirements-file' instead."
39
+ export requirements_file="${{ inputs.requirements-docs-file }}"
40
+ else
41
+ export requirements_file="${{ inputs.requirements-file }}"
42
+ fi
43
+ uv pip install -r "${requirements_file}"
34
44
35
45
set +e # Do not exit shell on failure
36
46
You can’t perform that action at this time.
0 commit comments