mirror of
https://github.com/ruuda/rcl.git
synced 2025-10-09 16:32:11 +00:00
Make GitHub Actions example more powerful
Show off the f-strings and loops.
This commit is contained in:
parent
33391d2ea1
commit
93cdd59a2c
1 changed files with 4 additions and 3 deletions
|
@ -21,11 +21,12 @@
|
|||
install_url = "https://releases.nixos.org/nix/nix-2.11.0/install";
|
||||
};
|
||||
},
|
||||
for attribute in ["rcl", "coverage"]:
|
||||
{
|
||||
name = "Build application";
|
||||
name = f"Build {attribute}";
|
||||
run =
|
||||
"""
|
||||
nix build --print-build-logs
|
||||
f"""
|
||||
nix build --print-build-logs .#{attribute}
|
||||
echo "Build ok"
|
||||
""";
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue