feat: asked claude sonnet 4.6 to rework as github workflow instead of on my machine

This commit is contained in:
2026-04-30 09:59:35 +02:00
parent 475ffc8445
commit 0a04b994ae
6 changed files with 587 additions and 60 deletions
+7 -3
View File
@@ -1,12 +1,16 @@
#!/usr/bin/env bash
# build.sh
# Runs INSIDE the Docker container as builduser.
# Runs as builduser (inside Docker or a GitHub Actions container job).
# Builds webkit2gtk from the AUR PKGBUILD and copies the resulting
# .pkg.tar.zst packages to /workspace/state/artifacts/.
# .pkg.tar.zst packages to <workspace>/state/artifacts/.
#
# Works in both environments:
# Docker / local: WORKSPACE=/workspace (default)
# GitHub Actions: WORKSPACE=$GITHUB_WORKSPACE (set by runner)
set -euo pipefail
WORKSPACE=/workspace
WORKSPACE="${GITHUB_WORKSPACE:-/workspace}"
SRC_DIR="${WORKSPACE}/webkit2gtk"
ARTIFACTS_DIR="${WORKSPACE}/state/artifacts"