Fix Windows release job (#3282)

Summary:
I'm not entirely sure why this broke. Some Powershell versions
support `&&` but others don't. Something downgraded us, apparently.

Failing job: https://github.com/facebook/flipper/runs/4791210127?check_suite_focus=true
Issue: https://github.com/facebook/flipper/issues/3281
Stackoverflow post I copy-pasted from: https://stackoverflow.com/questions/65627536/the-token-is-not-a-valid-statement-separator-in-this-version

Pull Request resolved: https://github.com/facebook/flipper/pull/3282

Test Plan: New release, I reckon.

Reviewed By: aigoncharov

Differential Revision: D33565457

Pulled By: passy

fbshipit-source-id: 1751a84fc86d10ee87c60feecb07947e9d5780cf
This commit is contained in:
Pascal Hartig
2022-01-13 04:27:26 -08:00
committed by Facebook GitHub Bot
parent abb2c99ecd
commit d825bd29c2

View File

@@ -126,13 +126,13 @@ jobs:
with: with:
timeout_minutes: 10 timeout_minutes: 10
max_attempts: 3 max_attempts: 3
command: cd ${{env.desktop-directory}} && yarn command: (cd ${{env.desktop-directory}}) -and (yarn)
- name: Build - name: Build
uses: nick-invision/retry@v2.6.0 uses: nick-invision/retry@v2.6.0
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3
command: cd ${{env.desktop-directory}} && yarn build --win command: (cd ${{env.desktop-directory}}) -and (yarn build --win)
- name: Upload Windows - name: Upload Windows
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with: