Skip to content

fix(gh-actions/build-debian): Fix deb lines in extra-apt-repositories#122

Merged
adombeck merged 2 commits intomainfrom
fix-extra-apt-repo
May 8, 2026
Merged

fix(gh-actions/build-debian): Fix deb lines in extra-apt-repositories#122
adombeck merged 2 commits intomainfrom
fix-extra-apt-repo

Conversation

@adombeck
Copy link
Copy Markdown
Contributor

@adombeck adombeck commented May 8, 2026

'deb ...' lines would be written to /etc/apt/sources.list by add-apt-repository, which is not shared with later steps (because only /etc/apt/sources.list.d is shared).

Write them directly to sources.list.d instead.

Also add an input extra-apt-repositories-pin to allow prioritizing packages from the extra repos.

'deb ...' lines would be written to /etc/apt/sources.list by
add-apt-repository, which is not shared with later steps (because only
/etc/apt/sources.list.d is shared).

Write them directly to sources.list.d instead.
@adombeck adombeck changed the title gh-actions/build-debian: Fix deb lines in extra-apt-repositories fix(gh-actions/build-debian): Fix deb lines in extra-apt-repositories May 8, 2026
By default, extra sources have priority 100 while the default sources
have 500. Support changing the priority to allow prioritizing packages
from the extra repos.
@adombeck adombeck force-pushed the fix-extra-apt-repo branch from 897c542 to 75ce642 Compare May 8, 2026 08:55
@adombeck
Copy link
Copy Markdown
Contributor Author

adombeck commented May 8, 2026

@adombeck adombeck marked this pull request as ready for review May 8, 2026 10:02
@adombeck adombeck requested a review from didrocks as a code owner May 8, 2026 10:02
@adombeck adombeck requested a review from 3v1n0 May 8, 2026 10:02
Comment thread gh-actions/common/build-debian/action.yaml
@adombeck adombeck requested a review from 3v1n0 May 8, 2026 12:50
@adombeck adombeck merged commit 46963c0 into main May 8, 2026
10 checks passed
@adombeck adombeck deleted the fix-extra-apt-repo branch May 8, 2026 14:42
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