Fix artifact upload: use existing zip archive, remove duplicate zip creation
Some checks failed
Build deb-bootupd Artifacts / build (push) Successful in 3m57s
Simple Build and Upload / build (push) Failing after 1m57s

This commit is contained in:
robojerk 2025-08-10 10:03:05 -07:00
parent c81e9b8223
commit 0a178c9892

View file

@ -253,11 +253,15 @@ jobs:
run: |
cd /tmp/deb-bootupd
# Create zip archive of artifacts
# Use the zip archive we already created
artifact_name="deb-bootupd-artifacts-$(git rev-parse --short HEAD).zip"
zip -r "$artifact_name" build-artifacts/
echo "Created artifact archive: $artifact_name"
# Rename the existing zip if needed
if [ -f "deb-bootupd-artifacts.zip" ]; then
mv "deb-bootupd-artifacts.zip" "$artifact_name"
fi
echo "Using artifact archive: $artifact_name"
ls -la "$artifact_name"
# Upload to Forgejo generic package registry