act
Some checks failed
/ alpine (push) Successful in 42s
/ debian (push) Successful in 1m14s
/ ubuntu (push) Successful in 1m27s
/ arch (push) Successful in 1m35s
/ opensuse (push) Successful in 1m40s
/ rocky (push) Blocked by required conditions
/ fedora (push) Has been cancelled
/ alma (push) Has been cancelled
Some checks failed
/ alpine (push) Successful in 42s
/ debian (push) Successful in 1m14s
/ ubuntu (push) Successful in 1m27s
/ arch (push) Successful in 1m35s
/ opensuse (push) Successful in 1m40s
/ rocky (push) Blocked by required conditions
/ fedora (push) Has been cancelled
/ alma (push) Has been cancelled
This commit is contained in:
parent
52835704bf
commit
3e494bc354
1 changed files with 11 additions and 0 deletions
|
@ -44,6 +44,16 @@ def clone_project_branch() -> None:
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def install_actions(path: Path) -> None:
|
||||||
|
"""Make actions usable in workflows.
|
||||||
|
|
||||||
|
:param path: entry point file
|
||||||
|
:type path: Path
|
||||||
|
"""
|
||||||
|
step("Install actions")
|
||||||
|
Path("act").symlink_to(path.parent / "actions")
|
||||||
|
|
||||||
|
|
||||||
def install_commands(path: Path) -> None:
|
def install_commands(path: Path) -> None:
|
||||||
"""Make commands callable in the operating system.
|
"""Make commands callable in the operating system.
|
||||||
|
|
||||||
|
@ -113,6 +123,7 @@ def main(main_file: Path) -> None:
|
||||||
list_environment_variables()
|
list_environment_variables()
|
||||||
clone_project_branch()
|
clone_project_branch()
|
||||||
set_ssh()
|
set_ssh()
|
||||||
|
install_actions(main_file)
|
||||||
install_commands(main_file)
|
install_commands(main_file)
|
||||||
install_python_packages()
|
install_python_packages()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue