ci(packages): Do not unconditionally publish repo when no changes are
made to other repos
This commit is contained in:
parent
4f1a1bdc93
commit
ca2e7bcf73
3
.github/workflows/packages.yml
vendored
3
.github/workflows/packages.yml
vendored
@ -254,6 +254,8 @@ jobs:
|
||||
# Upload file to temporary directory.
|
||||
uploaded_files=false
|
||||
shopt -s nullglob
|
||||
|
||||
if [ -f debs/built_${REPOSITORY_NAME}_packages.txt ]; then
|
||||
for filename in $(cat debs/built_${REPOSITORY_NAME}_packages.txt | sed -E 's/(..*)/debs\/\1_\*.deb debs\/\1-static_\*.deb/g'); do
|
||||
if ! aptly_upload_file "$filename"; then
|
||||
exit 1
|
||||
@ -277,6 +279,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
- name: Upload to grimler.se
|
||||
# Run even if upload to packages.termux.org failed:
|
||||
|
Loading…
Reference in New Issue
Block a user