termux-packages/.github/workflows
Henrik Grimler ca5438c1ef
CI: fix occasional dependency upload issue
Previously we were outputting built debs into ./debs instead of
standard folder ./output.  We were also sorting built_packages.txt so
that $(cat ./built_packages.txt) returned an alphabetically sorted
list.

This caused issues for pushes that updated both a package and one or
more of its dependencies, if the dependencies start with a letter that
is later in the alphabet.

Latest example was libforestdb and libsnappy.  Libforestdb depends on
libsnappy, but the buildorder as given to build-package.sh was
"libforestdb libsnappy".  During the libforestdb build libsnappy was
built first, but the deb put into the standard ./output folder (that's
how our build system currently handles built dependency debs).  When
build-package.sh then later tries building libsnappy it skips it
since it has already been built.  We then end up with only libforestdb
in the ./debs folder.

Fix this issue by putting all debs in ./output/, and then moving the
once mentioned in built_packages.txt to ./debs/.

Fixes https://github.com/termux/termux-packages/issues/8773.
2022-01-30 17:06:27 +01:00
..
bootstrap_archives.yml github actions: fix tagging in bootstrap_archives.yml 2021-09-17 23:39:35 +03:00
docker_image.yml CI: revert changes to Docker workflow. 2021-03-29 17:49:37 +03:00
package_updates.yml CI: limit package-updates actions scope 2021-10-31 10:33:30 +05:30
packages.yml CI: fix occasional dependency upload issue 2022-01-30 17:06:27 +01:00