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