upload split packages

This commit is contained in:
2025-11-07 16:12:49 -05:00
parent 33a14fb56f
commit b369de6b51

View File

@@ -50,9 +50,12 @@ runs:
run: | run: |
echo "#!/bin/bash echo "#!/bin/bash
echo '📤️ Uploading package to ${{ gitea.server_url }} ...' echo '📤️ Uploading package to ${{ gitea.server_url }} ...'
curl -f --user \"\$username:\$token\" \ for f in ./*.tar.zst; do
--upload-file ./*.tar.zst \ [ -f \"$f\" ] || continue
'${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/arch/${{ steps.parsed.outputs.destination }}' curl -f --user \"\$username:\$token\" \
--upload-file \"$f\" \
'${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/arch/${{ steps.parsed.outputs.destination }}'
done
" > "./post-entrypoint.sh" " > "./post-entrypoint.sh"
chmod +x "./post-entrypoint.sh" chmod +x "./post-entrypoint.sh"
git config --global user.name 'Guy Incognito' git config --global user.name 'Guy Incognito'