File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
url : " https://github.com/{{ runner_download_repository }}/releases/download/v{{ runner_version }}/\
27
27
actions-runner-{{ github_actions_system }}-{{ github_actions_architecture }}-{{ runner_version }}.zip"
28
28
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
30
30
31
31
- name : Unarchive runner package
32
32
community.windows.win_unzip :
33
33
src : " %TEMP%\\ actions-runner-{{ github_actions_system }}-{{ github_actions_architecture }}-{{ runner_version }}.zip"
34
34
dest : " {{ runner_dir }}\\ "
35
35
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
37
37
38
38
- name : Configure custom env file if required
39
39
randrej.windows.win_blockinfile :
You can’t perform that action at this time.
0 commit comments