Adapt the github action release to make it work with Gitea

This commit is contained in:
pierrotdelalune
2023-11-22 23:06:16 +01:00
parent 60623246ae
commit 88cd6263bc
5 changed files with 21 additions and 4 deletions

View File

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