Skip to content

Commit 7fa8393

Browse files
committed
disabled python cache
1 parent 04c0ef5 commit 7fa8393

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/actions/setup/action.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ outputs:
2323
runs:
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'
@@ -46,7 +46,7 @@ runs:
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

Comments
 (0)