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")
|
step("Install actions")
|
||||||
name = "action.yaml"
|
name = "action.yaml"
|
||||||
source = path.parent / "actions"
|
root = project.root / "act"
|
||||||
target = project.root / "act"
|
vpy = Path(env.SPCD_PYTHON_VENV_BINARIES) / "python"
|
||||||
for action in [
|
action = "synchronize"
|
||||||
"synchronize",
|
log.info(action)
|
||||||
]:
|
directory = root / action
|
||||||
log.info(action)
|
fs.make_directory(directory)
|
||||||
r = source / action / name
|
fs.write(directory / name, f"""\
|
||||||
w = target / action
|
inputs:
|
||||||
fs.make_directory(w)
|
source:
|
||||||
w = w / name
|
default: out
|
||||||
fs.write(w, fs.read_file_text(r))
|
required: false
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- run: "{vpy}" -m spcd synchronize
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
def install_commands(path: Path) -> None:
|
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