Merge branch 'main' into feat/window-manager
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -65,17 +65,11 @@ jobs:
|
|||||||
ls -la zig-out/bin/
|
ls -la zig-out/bin/
|
||||||
file zig-out/bin/zigfetch-${{ matrix.target }}
|
file zig-out/bin/zigfetch-${{ matrix.target }}
|
||||||
|
|
||||||
- name: Create archive
|
|
||||||
run: |
|
|
||||||
tar -czf zigfetch-${{ matrix.target }}.tar.gz -C zig-out/bin zigfetch-${{ matrix.target }}
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: zigfetch-${{ matrix.target }}
|
name: zigfetch-${{ matrix.target }}
|
||||||
path: |
|
path: zig-out/bin/zigfetch-${{ matrix.target }}
|
||||||
# zig-out/bin/zigfetch-${{ matrix.target }}
|
|
||||||
zigfetch-${{ matrix.target }}.tar.gz
|
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ pub fn getModulesTypes(allocator: std.mem.Allocator, config: ?std.json.Parsed(Co
|
|||||||
if (module_enum) |m| {
|
if (module_enum) |m| {
|
||||||
try modules_list.append(m);
|
try modules_list.append(m);
|
||||||
} else {
|
} else {
|
||||||
|
modules_list.deinit();
|
||||||
return error.InvalidModule;
|
return error.InvalidModule;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user