1 Commits

Author SHA1 Message Date
b705e34086 fix build and release
Some checks failed
Release binary and debian package for cl-cli / build-and-release (push) Failing after 1m46s
2025-11-11 22:51:19 +01:00

View File

@@ -21,7 +21,6 @@ jobs:
run: cargo deb
- name: Upload Debian package to Gitea registry
env:
GITEA_SERVER_URL: "https://gitea.champs-libres.be"
GITEA_OWNER: ${{ secrets.GITEA_OWNER }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
DEB_DISTRIBUTIONS: noble,plucky,questing
@@ -41,7 +40,7 @@ jobs:
echo "Uploading ${DEB_FILE} to ${GITEA_SERVER_URL} for owner ${GITEA_OWNER}"
curl -sSf -X PUT \
-H "Authorization: token ${GITEA_TOKEN}" \
--upload-file @"${DEB_FILE}" \
--upload-file "${DEB_FILE}" \
"${GITEA_SERVER_URL}/api/packages/${GITEA_OWNER}/debian/pool/${DISTRO}/main/upload"
done
- name: Read release content