We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0fcb1 commit 587faeaCopy full SHA for 587faea
1 file changed
.github/actions/setup/action.yml
@@ -28,7 +28,9 @@ runs:
28
shell: bash
29
run: |
30
# Determine cache type based on available lockfile
31
- if [ -f poetry.lock ]; then
+ if [ "x${{ env.ACT }}" != "x" ]; then
32
+ echo "Local GHA testing environment detected, disabling python cache"
33
+ elif [ -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