-
|
Hi check:
if: always()
runs-on: [self-hosted]
needs:
- dev_build_int_tests
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/[email protected]
with:
jobs: ${{ toJSON(needs) }}And I got this error: Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 119, in _get_module_details
code = loader.get_code(mod_name)
File "/usr/lib/python2.7/pkgutil.py", line 281, in get_code
self.code = compile(source, self.filename, 'exec')
File "/opt/actions-runner/_work/_actions/re-actors/alls-green/v1.2.2/src/normalize_needed_jobs_status.py", line 29
write_lines_to_streams((f'{name}={value}',), (outputs_file,))
^
SyntaxError: invalid syntax
Error: Process completed with exit code 1.Could you help me to fix it, please. |
Beta Was this translation helpful? Give feedback.
Answered by
webknjaz
Nov 28, 2022
Replies: 2 comments
-
|
This syntax requires Python 3.6+. You could inject an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
webknjaz
-
|
@webknjaz Thank you! It helped. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This syntax requires Python 3.6+. You could inject an
actions/setup-python@v4action, switching your job's Python to v3, as a workaround. I think that all the shared runners on the public GitHub platform already default to Python 3.