act/vpy
Some checks failed
/ alpine (push) Failing after 42s
/ debian (push) Failing after 1m18s
/ ubuntu (push) Failing after 1m23s
/ arch (push) Failing after 1m30s
/ alma (push) Blocked by required conditions
/ rocky (push) Blocked by required conditions
/ opensuse (push) Has been cancelled
/ fedora (push) Has been cancelled
Some checks failed
/ alpine (push) Failing after 42s
/ debian (push) Failing after 1m18s
/ ubuntu (push) Failing after 1m23s
/ arch (push) Failing after 1m30s
/ alma (push) Blocked by required conditions
/ rocky (push) Blocked by required conditions
/ opensuse (push) Has been cancelled
/ fedora (push) Has been cancelled
This commit is contained in:
parent
588bf5c6c4
commit
44423ef2ee
2 changed files with 16 additions and 19 deletions
|
@ -52,17 +52,22 @@ def install_actions(path: Path) -> None:
|
|||
"""
|
||||
step("Install actions")
|
||||
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))
|
||||
root = project.root / "act"
|
||||
vpy = Path(env.SPCD_PYTHON_VENV_BINARIES) / "python"
|
||||
action = "synchronize"
|
||||
log.info(action)
|
||||
directory = root / action
|
||||
fs.make_directory(directory)
|
||||
fs.write(directory / name, f"""\
|
||||
inputs:
|
||||
source:
|
||||
default: out
|
||||
required: false
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- run: "{vpy}" -m spcd synchronize
|
||||
""")
|
||||
|
||||
|
||||
def install_commands(path: Path) -> None:
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
inputs:
|
||||
source:
|
||||
default: out
|
||||
required: false
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- run: python3 -m "spcd" "synchronize"
|
Loading…
Reference in a new issue