File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2626 url : " https://github.com/{{ runner_download_repository }}/releases/download/v{{ runner_version }}/\
2727 actions-runner-{{ github_actions_system }}-{{ github_actions_architecture }}-{{ runner_version }}.zip"
2828 dest : " %TEMP%\\ actions-runner-{{ github_actions_system }}-{{ github_actions_architecture }}-{{ runner_version }}.zip"
29- when : runner_version not in runner_installed.stdout or reinstall_runner
29+ when : runner_installed.stdout is not defined or runner_version not in runner_installed.stdout or reinstall_runner
3030
3131- name : Unarchive runner package
3232 community.windows.win_unzip :
3333 src : " %TEMP%\\ actions-runner-{{ github_actions_system }}-{{ github_actions_architecture }}-{{ runner_version }}.zip"
3434 dest : " {{ runner_dir }}\\ "
3535 delete_archive : yes
36- when : runner_version not in runner_installed.stdout or reinstall_runner
36+ when : runner_installed.stdout is not defined or runner_version not in runner_installed.stdout or reinstall_runner
3737
3838- name : Configure custom env file if required
3939 randrej.windows.win_blockinfile :
You can’t perform that action at this time.
0 commit comments