NixOS-based container for running GitHub actions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

more debugging

+7 -2
+7 -2
src/tail.zig
··· 10 10 const arena: std.mem.Allocator = init.arena.allocator(); 11 11 const io = init.io; 12 12 13 - { 14 - var t = try std.Io.Dir.openFileAbsolute(io, "/tmp/entrypoint-env.txt", .{ .mode = .read_write }); 13 + env: { 14 + var t = std.Io.Dir.createFileAbsolute(io, "/tmp/entrypoint-env.txt", .{ 15 + .exclusive = true, 16 + }) catch |err| { 17 + std.debug.print("unable to create env file: {t}\n", .{err}); 18 + break :env; 19 + }; 15 20 defer t.close(io); 16 21 var buf: [64]u8 = undefined; 17 22 var w = t.writer(io, &buf);