Try to upload asset using multipart

This commit is contained in:
pierrotdelalune
2023-11-22 23:06:16 +01:00
parent 60623246ae
commit b2f54cb7d4
2 changed files with 12 additions and 3 deletions

View File

@ -33,7 +33,9 @@ jobs:
run: make release VERSION=${{ github.event.release.tag_name }} run: make release VERSION=${{ github.event.release.tag_name }}
- name: Upload the package to the release - name: Upload the package to the release
uses: shogo82148/actions-upload-release-asset@v1 uses: alikamal1/Form_Data_HTTP_POST_Action@main
with: with:
upload_url: ${{ github.event.release.upload_url }} url: ${{ github.event.release.upload_url }}
asset_path: /tmp/wllbg-release/wallabag-${{ github.event.release.tag_name }}.tar.gz headers: '{"Authorization": "token xxxxxxxxxxxxxxxxxxx"}'
file: /tmp/wllbg-release/wallabag-${{ github.event.release.tag_name }}.tar.gz
name: wallabag-{{ github.event.release.tag_name }}_piere.tar.gz

7
release_event.json Normal file
View File

@ -0,0 +1,7 @@
{
"release" :
{
"tag_name" : "2.6.7",
"upload_url" : "https://gyokuro.ile-australe.eu/api/v1/repos/pierre/wallabag/releases/1918/assets"
}
}