mirror of
https://github.com/funkemunky/KDE-x86_64-v4-Fedora.git
synced 2026-05-31 00:51:56 +00:00
Fixing build process
This commit is contained in:
@@ -106,7 +106,12 @@ jobs:
|
||||
from pathlib import Path
|
||||
|
||||
workspace = Path(os.environ["GITHUB_WORKSPACE"])
|
||||
outdir = workspace / "artifacts" / f"srpm-shard-{os.environ['SHARD_LABEL']}"
|
||||
shard_label = os.environ.get("SHARD_LABEL") or "000"
|
||||
packages = json.loads(os.environ.get("PACKAGES_JSON") or "[]")
|
||||
if packages is None:
|
||||
packages = []
|
||||
|
||||
outdir = workspace / "artifacts" / f"srpm-shard-{shard_label}"
|
||||
outdir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
subprocess.run(
|
||||
@@ -122,7 +127,7 @@ jobs:
|
||||
cwd=workspace,
|
||||
)
|
||||
|
||||
for package_name in json.loads(os.environ["PACKAGES_JSON"]):
|
||||
for package_name in packages:
|
||||
subprocess.run(
|
||||
[
|
||||
"make",
|
||||
|
||||
@@ -126,7 +126,12 @@ jobs:
|
||||
from pathlib import Path
|
||||
|
||||
workspace = Path(os.environ["GITHUB_WORKSPACE"])
|
||||
outdir = workspace / "artifacts" / f"srpm-shard-{os.environ['SHARD_LABEL']}"
|
||||
shard_label = os.environ.get("SHARD_LABEL") or "000"
|
||||
packages = json.loads(os.environ.get("PACKAGES_JSON") or "[]")
|
||||
if packages is None:
|
||||
packages = []
|
||||
|
||||
outdir = workspace / "artifacts" / f"srpm-shard-{shard_label}"
|
||||
outdir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
subprocess.run(
|
||||
@@ -142,7 +147,7 @@ jobs:
|
||||
cwd=workspace,
|
||||
)
|
||||
|
||||
for package_name in json.loads(os.environ["PACKAGES_JSON"]):
|
||||
for package_name in packages:
|
||||
subprocess.run(
|
||||
[
|
||||
"make",
|
||||
|
||||
Reference in New Issue
Block a user