solved
This commit is contained in:
@@ -40,16 +40,16 @@ runs:
|
|||||||
for f in ./*.tar.zst; do
|
for f in ./*.tar.zst; do
|
||||||
[ -f \"$f\" ] || continue
|
[ -f \"$f\" ] || continue
|
||||||
curl -f --user \"\$username:\$token\" \
|
curl -f --user \"\$username:\$token\" \
|
||||||
--upload-file \"$f\" \
|
--upload-file \"\$f\" \
|
||||||
'${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/arch/${{ steps.parsed.outputs.destination }}'
|
'${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/arch/${{ steps.parsed.outputs.destination }}'
|
||||||
done
|
done
|
||||||
" > "./post-entrypoint.sh"
|
" > "./post-entrypoint.sh"
|
||||||
cat "./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'
|
||||||
git config --global user.email 'user@local'
|
git config --global user.email 'user@local'
|
||||||
git add "./post-entrypoint.sh"
|
git add "./post-entrypoint.sh" && \
|
||||||
git commit -m "persist publish script"
|
git commit -m "persist publish script" && \
|
||||||
|
cat "./post-entrypoint.sh"
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
uses: https://git.sanin.dev/packages_test/build-publish/@build
|
uses: https://git.sanin.dev/packages_test/build-publish/@build
|
||||||
|
|||||||
Reference in New Issue
Block a user