Skip to content

Commit 8d1ed47

Browse files
committed
removed unneccessary steps from setup action
1 parent 50eaa7d commit 8d1ed47

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,6 @@ 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
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:

0 commit comments

Comments
 (0)