]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA: tidy up `apt` commands
authorViktor Szakats <commit@vsz.me>
Wed, 29 Jan 2025 18:46:25 +0000 (19:46 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 30 Jan 2025 01:36:43 +0000 (02:36 +0100)
commitb13e9066b3dfd65ba8aadc336232ae7832ac687a
treeae9e852723208b28d213e09dcdf45147d64a0ca9
parent11ea10355a1a346faddee5b87b12822b8aaaf906
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
.github/workflows/checkdocs.yml
.github/workflows/checksrc.yml
.github/workflows/configure-vs-cmake.yml
.github/workflows/distcheck.yml
.github/workflows/http3-linux.yml
.github/workflows/linux-old.yml
.github/workflows/linux.yml
.github/workflows/non-native.yml
.github/workflows/windows.yml
scripts/cijobs.pl