Test drone builds.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Mark Nellemann 2023-08-14 18:04:49 +02:00
parent ff68f18ac3
commit 1289f3b8ff

View file

@ -22,7 +22,7 @@ steps:
AUTH_TOKEN: # Gitea access token ENV variable
from_secret: AUTH_TOKEN # Name of DroneCI secret exposed above
commands:
- apt-get install -y dpkg-dev unzip zip curl
- apt-get update && apt-get install -y dpkg-dev unzip zip curl
- ./gradlew --quiet --no-daemon build jpackage
- for file in build/jpackage/*.{rpm,deb} ; do curl -s --user "$${AUTH_TOKEN}" --upload-file "$${file}" "https://git.data.coop/api/packages/${DRONE_REPO_OWNER}/generic/${DRONE_REPO_NAME}/${DRONE_TAG}/$(basename $file)" ; done
when: