File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish F-Droid repository
22
33on :
4+ push :
5+ branches : [main]
46 repository_dispatch :
57 types : [opentubex-release, opentubex-nightly]
68 workflow_dispatch :
@@ -129,8 +131,7 @@ jobs:
129131 fi
130132
131133 if ! find incoming -name '*.apk' -print -quit | grep --quiet .; then
132- echo 'No published Android APK is available yet.' >&2
133- exit 1
134+ echo '::notice title=Repository is waiting for its first APK::Publishing an empty signed index and the installation page'
134135 fi
135136
136137 - name : Restore repository signing key
@@ -155,7 +156,7 @@ jobs:
155156 run : |
156157 set -euo pipefail
157158 mkdir -p repo site
158- cp incoming/ *.apk repo/
159+ find incoming -maxdepth 1 -type f -name ' *.apk' -exec cp '{}' repo/ \;
159160 fdroid update --pretty
160161 cp --recursive static/. site/
161162 mv repo site/repo
You can’t perform that action at this time.
0 commit comments