File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ jobs:
3030 with :
3131 version : 0.14.1
3232
33- # I don't know why this is needed for the docs to succeed on CI, but otherwise it consistently fails with:
34- # error: unable to open directory '.zig-cache/b/': FileNotFound
35- # See https://github.com/mxpv/luaz/actions/runs/16698403816/job/47265761593
36- - run : zig build
37-
38- - run : zig build docs
33+ - run : |
34+ # I don't know why this is needed for the docs to succeed on CI, but otherwise it consistently fails with:
35+ # error: unable to open directory '...': FileNotFound
36+ # See https://github.com/mxpv/luaz/actions/runs/16698403816/job/47265761593
37+ for i in {1..3}; do
38+ if zig build docs; then
39+ break
40+ fi
41+ echo "Attempt $i failed, retrying..."
42+ sleep 2
43+ done
3944
4045 - uses : actions/configure-pages@v5
4146 - uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub const Compiler = struct {
4242 dbg_level : u8 = 1 ,
4343
4444 /// Type information level for native code generation.
45- ///
45+ ///
4646 /// Information includes testable types for function arguments, locals, upvalues and some temporaries.
4747 ///
4848 /// - `0` - generate for native modules
You can’t perform that action at this time.
0 commit comments