Skip to content

Commit 7ea1378

Browse files
committed
Test out the fallback #3.
1 parent 319d299 commit 7ea1378

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci_connection/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ inputs:
2121
runs:
2222
using: composite
2323
steps:
24-
2524
# First try to set up waiting with Python, as it has some QoL features, like mirroring the `env` state, etc.
2625
- name: Wait for connection
2726
id: primary
@@ -33,9 +32,10 @@ runs:
3332
run: |
3433
python_bin=$(which python3 2>/dev/null || which python)
3534
# Attempt to run; capture exit code of script, or non-zero if python missing/fails
36-
[[ -n "$python_bin" ]] && "$python_bin" "$GITHUB_ACTION_PATH/wait_for_connection.py"
37-
exit_code=$?
35+
# [[ -n "$python_bin" ]] && "$python_bin" "$GITHUB_ACTION_PATH/wait_for_connection.py"
36+
exit_code="$?"
3837
echo "exit_code=${exit_code}" >> "$GITHUB_OUTPUT"
38+
echo "Finished the steppy-step, moving on..."
3939
4040
# If Python fails, or isn't available, fall back to using Bash for a simpler keep-alive loop
4141
- name: Wait for connection (shell-based fallback in case Python is not available, or fails)

0 commit comments

Comments
 (0)