We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 587faea commit 943e2d3Copy full SHA for 943e2d3
1 file changed
.github/actions/setup/action.yml
@@ -24,13 +24,12 @@ runs:
24
using: composite
25
steps:
26
- name: Evaluate Python environment
27
+ if: ${{ !env.ACT }}
28
id: env-check
29
shell: bash
30
run: |
31
# Determine cache type based on available lockfile
- if [ "x${{ env.ACT }}" != "x" ]; then
32
- echo "Local GHA testing environment detected, disabling python cache"
33
- elif [ -f poetry.lock ]; then
+ if [ -f poetry.lock ]; then
34
echo "package_tool=poetry" >> $GITHUB_OUTPUT
35
elif [ -f requirements.txt ]; then
36
echo "package_tool=pip" >> $GITHUB_OUTPUT
0 commit comments