mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 05:06:17 +00:00
Add retries to flaky step in nightly run CI (#2306)
Adds more automated way for errors like this: https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/5328561662 Proposed dependency : https://github.com/nick-fields/retry Co-authored-by: Maksim Litskevich <makslit@amazon.co.uk>
This commit is contained in:
parent
cd7941cc39
commit
10c96b19d0
7
.github/workflows/nightly_run.yml
vendored
7
.github/workflows/nightly_run.yml
vendored
|
@ -279,7 +279,12 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: apt update && apt install -y make g++-4.8 gcc-4.8 wget git
|
uses: nick-fields/retry@v2
|
||||||
|
with:
|
||||||
|
timeout_minutes: 10
|
||||||
|
max_attempts: 3
|
||||||
|
command: apt update && apt install -y make g++-4.8 gcc-4.8 wget git
|
||||||
|
on_retry_command: sudo rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
- name: Install cmake
|
- name: Install cmake
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user