File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88runs :
99 using : " composite"
1010 steps :
11- - run : python3 $GITHUB_ACTION_PATH/main.py
11+ - run : python $GITHUB_ACTION_PATH/main.py
1212 shell : bash
1313 env :
1414 INPUT_COMMITMESSAGE : ${{ inputs.commitMessage }}
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ case "$OSTYPE" in
88 ;;
99 * )
1010 echo " Running ${me} on linux / mac / unix"
11- if command -v python3 > /dev/null 2>&1 ; then
12- PYTHON_EXECUTABLE=python3
11+ if command -v python > /dev/null 2>&1 ; then
12+ PYTHON_EXECUTABLE=python
1313 else
1414 PYTHON_EXECUTABLE=python
1515 fi
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ case "$OSTYPE" in
88 ;;
99 * )
1010 echo " Running ${me} on linux / mac / unix"
11- if command -v python3 > /dev/null 2>&1 ; then
12- PYTHON_EXECUTABLE=python3
13- else
11+ # if command -v python3 > /dev/null 2>&1; then
12+ # PYTHON_EXECUTABLE=python3
13+ # else
1414 PYTHON_EXECUTABLE=python
15- fi
15+ # fi
1616esac
1717
1818${PYTHON_EXECUTABLE} " ${BASH_SOURCE[0]% .* } .py" " $@ "
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ case "$OSTYPE" in
88 ;;
99 * )
1010 echo " Running ${me} linux / mac / unix"
11- if command -v python3 > /dev/null 2>&1 ; then
12- PYTHON_EXECUTABLE=python3
11+ if command -v python > /dev/null 2>&1 ; then
12+ PYTHON_EXECUTABLE=python
1313 else
1414 PYTHON_EXECUTABLE=python
1515 fi
You can’t perform that action at this time.
0 commit comments