upload split packages
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user