From b369de6b51a740856d9f62b78a566301bdbc0e36 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Fri, 7 Nov 2025 16:12:49 -0500 Subject: [PATCH] upload split packages --- action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index eb4c8ee..337572b 100644 --- a/action.yml +++ b/action.yml @@ -50,9 +50,12 @@ runs: run: | echo "#!/bin/bash echo '📤️ Uploading package to ${{ gitea.server_url }} ...' - curl -f --user \"\$username:\$token\" \ - --upload-file ./*.tar.zst \ - '${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/arch/${{ steps.parsed.outputs.destination }}' + for f in ./*.tar.zst; do + [ -f \"$f\" ] || continue + 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" chmod +x "./post-entrypoint.sh" git config --global user.name 'Guy Incognito'