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
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:
parent
12f235af81
commit
192692ec8a
1 changed files with 12 additions and 6 deletions
|
@ -51,12 +51,18 @@ def install_actions(path: Path) -> None:
|
||||||
:type path: Path
|
:type path: Path
|
||||||
"""
|
"""
|
||||||
step("Install actions")
|
step("Install actions")
|
||||||
source = project.root / "act"
|
name = "action.yaml"
|
||||||
target = path.parent / "actions"
|
source = path.parent / "actions"
|
||||||
log.info(source)
|
target = project.root / "act"
|
||||||
log.info(target)
|
for action in [
|
||||||
source.symlink_to(target)
|
"synchronize",
|
||||||
run("ls", "-l")
|
]:
|
||||||
|
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:
|
def install_commands(path: Path) -> None:
|
||||||
|
|
Loading…
Reference in a new issue