Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Comments

fix: update build action and fix artifact collection#45

Merged
mairas merged 1 commit intomainfrom
fix/update-build-action
Nov 22, 2025
Merged

fix: update build action and fix artifact collection#45
mairas merged 1 commit intomainfrom
fix/update-build-action

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Nov 22, 2025

Summary

Fix the build action to work with the refactored build system.

Changes

Local Action (.github/actions/build-deb/action.yml)

  • Use ./run build instead of ./run docker-build-deb
  • Remove .env file creation step (no longer needed)
  • Simplify artifact listing

Build Script (run)

  • build-deb: Use temp directory approach for dpkg-buildpackage
    • Creates temp build area with project as subdirectory
    • Runs dpkg-buildpackage (which outputs to parent dir)
    • Moves artifacts back to project directory
    • Cleans up temp directory
  • build: Call devtools ./run build-deb for cleaner invocation

Why

The previous approach tried to mount the parent directory in Docker which was:

  1. Messy - required complex volume mounts
  2. Insecure - exposed parent directory

The temp directory approach is cleaner and self-contained.

Test plan

  • Local build succeeds: ./run build
  • Artifacts appear in project directory
  • CI build succeeds

🤖 Generated with Claude Code

- Update local action to use ./run build instead of ./run docker-build-deb
- Remove .env file creation (no longer needed)
- Fix build-deb to use temp directory for dpkg-buildpackage output
- Move artifacts back to project directory after build

The temp directory approach allows dpkg-buildpackage to write to its
parent directory (its default behavior) without requiring the Docker
mount to include the parent directory.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mairas mairas merged commit 186a57f into main Nov 22, 2025
1 check passed
@mairas mairas deleted the fix/update-build-action branch November 22, 2025 09:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant