Skip to content

Commit c5dd427

Browse files
committed
dev_setup action
1 parent fa12ebb commit c5dd427

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: pygl_dev_setup
2+
description: Installs GardenLinux Python library dev packages
3+
4+
inputs:
5+
version:
6+
description: GardenLinux Python library version to install
7+
default: "0.10.5"
8+
python_version:
9+
description: Python version to setup
10+
default: "3.14"
11+
12+
outputs:
13+
version:
14+
description: GardenLinux Python library version
15+
value: ${{ inputs.version }}
16+
python_version:
17+
description: Python version to setup
18+
value: ${{ inputs.python_version }}
19+
20+
runs:
21+
using: composite
22+
steps:
23+
- name: Set up Python ${{ inputs.python_version }}
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ inputs.python_version }}
27+
28+
- name: Install Poetry
29+
uses: snok/install-poetry@v1
30+
with:
31+
version: 2.2.1
32+
33+
- name: Install GardenLinux Python library
34+
shell: bash
35+
run: |
36+
poetry install --with=dev

0 commit comments

Comments
 (0)