I want to send my .apk file to the github repository through REST API.
File is converting to base64 and send as blob:
BLOB_SHA=$(curl -X POST https://api.github.com/repos/{user}/{repo}/git/blobs -H "Accept: application/vnd.github.v3.raw+json" -H "Authorization: Basic {token}" -d '{"content":{my app in base64},"encoding":"utf-8|base64"}' | jq '.sha')
But here is a message:
bash: /mingw64/bin/curl: Argument list too long
What I try to achive is: build apk on Codemagic, send apk to github, trigger appium test automation.
Maybe there is any other posibility to connect Codemagic build and appium tests?