forked from wallabag/wallabag
Adapt the github action release to make it work with Gitea
This commit is contained in:
8
.github/workflows/upload-release-package.yml
vendored
8
.github/workflows/upload-release-package.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user