Skip to content

Commit

Permalink
GH Actions: only install rsync and OpenSSH on Windows when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Sep 8, 2021
1 parent e32cedf commit fe16a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ jobs:
# Warning: do not move this step before restoring caches or it will break caching due to
# https://github.com/actions/cache/issues/531
- name: "[Windows] Install rsync and openssh"
if: runner.os == 'Windows'
if: runner.os == 'Windows' && github.event_name == 'push'
run: |
$Env:PATH="c:\msys64\usr\bin;$Env:PATH"
pacman -S --noconfirm coreutils bash rsync openssh
Expand Down

0 comments on commit fe16a85

Please sign in to comment.