runs-on & project.build
All checks were successful
/ job (push) Successful in 3m17s

This commit is contained in:
Marc Beninca 2025-05-25 15:55:51 +02:00
parent 020aaa0b9a
commit 32703df110
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,7 @@
on: [push]
jobs:
job:
runs-on: ubuntu-latest
container:
image: ${{vars.DOCKER}}debian:bookworm
steps:

View file

@ -3,6 +3,7 @@
from pathlib import Path
from rwx import Object
from rwx.ps import run
class Project(Object):
@ -18,3 +19,7 @@ class Project(Object):
self.file = self.raw.resolve()
self.root: Path = self.file.parent
self.name: str = self.root.name
def build(self) -> None:
"""Build the project."""
run(str(self.root / "build.py"))