Skip to content

Commit ac59837

Browse files
makotokatognzlbg
authored andcommitted
Don't use && on GitHub Actions.
According to [*1], default shell of Windows is PowerShell. So `&&` isn't suppored on PowerShell yet. So we should use multiline run syntax instead. *1 https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps,
1 parent ef62c8e commit ac59837

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ jobs:
165165
steps:
166166
- uses: actions/checkout@master
167167
- name: Install Rust (rustup)
168-
run: rustup update nightly --no-self-update && rustup default nightly
168+
run: |
169+
rustup update nightly --no-self-update
170+
rustup default nightly
169171
if: matrix.os != 'macos-latest'
170172
- name: Install Rust (macos)
171173
run: |

0 commit comments

Comments
 (0)