Skip to content

Fix GitHub Actions workflow: sudo conflicts, artifact paths, and redundant builds#1

Draft
Copilot wants to merge 10 commits intomasterfrom
copilot/create-debian-12-package
Draft

Fix GitHub Actions workflow: sudo conflicts, artifact paths, and redundant builds#1
Copilot wants to merge 10 commits intomasterfrom
copilot/create-debian-12-package

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 14, 2026

GitHub Actions workflow was failing due to nested sudo calls, incorrect artifact paths, and redundant build execution.

Changes

Dependency installation (lines 40-65)

  • Install packages directly via apt-get instead of calling ./build-debian12-package.sh --install-deps
  • Eliminates nested sudo (workflow → script → apt-get)

Artifact paths (lines 88, 97, 113)

  • Changed from *.deb || ../*.deb to ../*.deb
  • dpkg-buildpackage outputs to parent directory by design

Build execution

  • Removed redundant second build call
  • Script no longer invoked with --install-deps flag

Technical details

# Before: nested sudo causes permission issues
- run: sudo ./build-debian12-package.sh --install-deps

# After: direct installation
- run: |
    sudo apt-get install -y \
      build-essential debhelper cmake bison...

Packages location: when building from /repo, dpkg creates .deb files in /repo/.. (parent directory), not /repo.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Create distributable package to support Debian 12 Add Debian 12 package support with 92% size reduction Feb 14, 2026
Copilot AI requested a review from fkpwolf February 14, 2026 00:59
Copilot AI changed the title Add Debian 12 package support with 92% size reduction Add GitHub Actions workflow for automated Debian 12 package builds Feb 14, 2026
Copilot AI and others added 2 commits February 14, 2026 01:22
- Remove redundant sudo call in install-deps
- Install dependencies directly in workflow instead of via script
- Fix artifact paths to look in correct location (../*.deb)
- Simplify build process to avoid double-execution

Co-authored-by: fkpwolf <[email protected]>
Copilot AI changed the title Add GitHub Actions workflow for automated Debian 12 package builds Fix GitHub Actions workflow: sudo conflicts, artifact paths, and redundant builds Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants