Skip to content

Commit c4f1c62

Browse files
jfrocheyvan-sraka
authored andcommitted
fix: add skip job only for systems that don't have any job
1 parent dec97cc commit c4f1c62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nix/packages/github-matrix/github_matrix.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ def clean_package_for_output(pkg: NixEvalJobsOutput) -> GitHubActionPackage:
259259
gh_output[system.replace("-", "_")] = {"include": packages}
260260

261261
for system in get_args(System):
262-
if system not in gh_output:
263-
gh_output[system.replace("-", "_")] = {
262+
s = system.replace("-", "_")
263+
if s not in gh_output:
264+
gh_output[s] = {
264265
"include": [
265266
{
266267
"attr": "",

0 commit comments

Comments
 (0)