fixup! wip: ci: Keep workspace between builds
Some checks failed
dustin/kitchenos/pipeline/head There was a failure building this commit

This commit is contained in:
2025-11-13 13:17:38 -06:00
parent 9f143fd5b7
commit 1d04b0cdbd

View File

@@ -3,12 +3,13 @@
package_name=${JOB_NAME#*/}
package_name=${package_name%%/*}-workspace
tar -czf workspace.tar.gz -C _build \
build \
host \
staging \
target \
Makefile
(
cd _build
find . \
-mindepth 1 -maxdepth 1 \
-not -name images \
-print0
) | xargs -0 tar -czf workspace.tar.gz -C _build
curl -u "${GITEA_AUTH}" \
"https://git.pyrocufflink.net/api/packages/jenkins/generic/${package_name}/${BUILD_NUMBER}/workspace.tar.gz"