@@ -23,20 +23,20 @@ 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
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
4040
4141 - name : Install Poetry
4242 if : steps.env-check.outputs.package_tool == 'poetry'
4646 uses : actions/setup-python@v5
4747 with :
4848 python-version : ${{ inputs.python_version }}
49- cache : ${{ steps.env-check.outputs.package_tool }}
49+ # cache: ${{ steps.env-check.outputs.package_tool }}
5050
5151 - name : Install GardenLinux Python library
5252 shell : bash
0 commit comments