read,write
Some checks failed
/ alpine (push) Successful in 44s
/ debian (push) Successful in 1m14s
/ ubuntu (push) Successful in 1m23s
/ opensuse (push) Blocked by required conditions
/ fedora (push) Blocked by required conditions
/ alma (push) Blocked by required conditions
/ rocky (push) Blocked by required conditions
/ arch (push) Has been cancelled

This commit is contained in:
Marc Beninca 2024-10-15 08:34:48 +02:00
parent 12f235af81
commit 192692ec8a
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -51,12 +51,18 @@ def install_actions(path: Path) -> None:
:type path: Path
"""
step("Install actions")
source = project.root / "act"
target = path.parent / "actions"
log.info(source)
log.info(target)
source.symlink_to(target)
run("ls", "-l")
name = "action.yaml"
source = path.parent / "actions"
target = project.root / "act"
for action in [
"synchronize",
]:
log.info(action)
r = source / action / name
w = target / action
fs.make_directory(w)
w = w / name
fs.write(w, fs.read_file_text(r))
def install_commands(path: Path) -> None: