Closed ghost closed 2 years ago
However Only the Linux Workflow fails after removing "Setup Python" because of this error:
File "game/scripts/download_deps_linux.py", line 4
def run_command(command: str):
^
SyntaxError: invalid syntax
Error: Process completed with exit code 1.
The Python script is written for Python 3.9 in mind. That setup-python line ensure it uses Python 3.9 or later (and as you notice in Linux, it may ship Python 3.7 which doesn't support type hinting hence the error you saw). For the setup-java 11, I'm not gonna remove it because it won't hurt.
Because "window-latest"( Microsoft Windows Server 2019 ) and "Ubuntu 18.04.6 LTS" already comes with python and java 11 pre-installed