mirror of
https://github.com/curl/curl.git
synced 2026-08-15 10:54:08 +03:00
GHA: tidy up apt commands
- drop `--quiet 2` option where used, to have uniform output. - replace `apt` with `apt-get` in one job. sync options with rest. - replace deprecated `apt-key` command with the alternative recommended by `apt-key(8)`. - drop stray `cd /tmp`, no longer needed after migrating to GHA. - shorten `--option Dpkg::Use-Pty=0` to `-o Dpkg::Use-Pty=0`. - add `-o Dpkg::Use-Pty=0` to hide `apt-get` progress bars taking vertical log space, where missing. - drop `-y --no-install-suggests --no-install-recommends` `apt-get` options. They are the default in the ubuntu-24.04 image. - GHA/distcheck: move `name:` to top in steps where not there. - scripts/cijobs.pl: catch `apt-get` lines with the `-o` option. Closes #16127
This commit is contained in:
parent
11ea10355a
commit
b13e9066b3
10 changed files with 47 additions and 51 deletions
|
|
@ -85,7 +85,7 @@ sub githubactions {
|
|||
$m = 0;
|
||||
$j = 0;
|
||||
}
|
||||
elsif($_ =~ /^ - run: .* apt-get install (.*)/) {
|
||||
elsif($_ =~ /^ - run: .* apt-get .* install (.*)/) {
|
||||
$job{'install'} = $1;
|
||||
}
|
||||
elsif($m >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue