|
@@ -62,16 +62,21 @@ jobs:
|
|
|
${{ env.CYG_ROOT }}\bin\tar.exe -C ${{ env.CYG_ROOT }} -xvf libmbedtls.tar.xz
|
|
|
|
|
|
- name: Install OCaml libraries
|
|
|
- shell: pwsh
|
|
|
- run: |
|
|
|
- Set-PSDebug -Trace 1
|
|
|
- # stop after any command returns an error
|
|
|
- $PSNativeCommandUseErrorActionPreference = $true
|
|
|
- $ErrorActionPreference = 'Stop'
|
|
|
- # see: https://github.com/aantron/luv/issues/162
|
|
|
- $env:PATH="${env:CYG_ROOT}\bin;${env:CYG_ROOT}\usr\x86_64-w64-mingw32\bin;${env:PATH}"
|
|
|
- opam install haxe --deps-only
|
|
|
- opam list
|
|
|
+ uses: nick-fields/retry@v3
|
|
|
+ with:
|
|
|
+ timeout_minutes: 10
|
|
|
+ max_attempts: 10
|
|
|
+ retry_on: timeout
|
|
|
+ shell: pwsh
|
|
|
+ command: |
|
|
|
+ Set-PSDebug -Trace 1
|
|
|
+ # stop after any command returns an error
|
|
|
+ $PSNativeCommandUseErrorActionPreference = $true
|
|
|
+ $ErrorActionPreference = 'Stop'
|
|
|
+ # see: https://github.com/aantron/luv/issues/162
|
|
|
+ $env:PATH="${env:CYG_ROOT}\bin;${env:CYG_ROOT}\usr\x86_64-w64-mingw32\bin;${env:PATH}"
|
|
|
+ opam install haxe --deps-only
|
|
|
+ opam list
|
|
|
|
|
|
- name: Set ADD_REVISION=1 for non-release
|
|
|
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|