File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,6 @@ outputs:
2323runs :
2424 using : composite
2525 steps :
26- - name : Evaluate Python environment
27- id : env-check
28- shell : bash
29- run : |
30- # Determine cache type based on available lockfile
31- if [ -f poetry.lock ]; then
32- echo "package_tool=poetry" >> $GITHUB_OUTPUT
33- elif [ -f requirements.txt ]; then
34- echo "package_tool=pip" >> $GITHUB_OUTPUT
35- else
36- # no lockfile present: create one and use pip caching
37- echo "gardenlinux @ git+https://github.com/gardenlinux/python-gardenlinux-lib.git@${{ inputs.version }}" | tee -a requirements.txt
38- echo "package_tool=pip" >> $GITHUB_OUTPUT
39- fi
40-
41- - name : Install Poetry
42- if : steps.env-check.outputs.package_tool == 'poetry'
43- uses : snok/install-poetry@v1
44-
4526 - name : Set up Python ${{ inputs.python_version }}
4627 uses : actions/setup-python@v5
4728 with :
You can’t perform that action at this time.
0 commit comments