Compare commits
3 commits
a0a64a098f
...
3e494bc354
Author | SHA1 | Date | |
---|---|---|---|
3e494bc354 | |||
52835704bf | |||
bc1d047359 |
2 changed files with 20 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:
|
||||
"""Make commands callable in the operating system.
|
||||
|
||||
|
@ -113,6 +123,7 @@ def main(main_file: Path) -> None:
|
|||
list_environment_variables()
|
||||
clone_project_branch()
|
||||
set_ssh()
|
||||
install_actions(main_file)
|
||||
install_commands(main_file)
|
||||
install_python_packages()
|
||||
else:
|
||||
|
|
9
spcd/actions/synchronize/action.yaml
Normal file
9
spcd/actions/synchronize/action.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
inputs:
|
||||
source:
|
||||
default: out
|
||||
required: false
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- run: echo "synchronize"
|
||||
- run: echo " source: ${INPUT_SOURCE}"
|
Loading…
Reference in a new issue