action-gh-release: Error: Request body length does not match content-length header

    - name: Upload firmware to release
      uses: softprops/action-gh-release@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ steps.tag.outputs.release_tag }}
        body_path: release.txt
        files: ${{ env.FIRMWARE }}/*

full yml https://github.com/qwerttvv/Router/blob/master/.github/workflows/M2-VIKINGYFY.yml

log

👩‍🏭 Creating new GitHub release for tag 2024.12.11-22.51_M2-VIKINGYFY...
⬆️ Uploading version.buildinfo...
⬆️ Uploading sha256sums...
⬆️ Uploading profiles.json...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18.manifest...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-squashfs-sysupgrade.bin...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-squashfs-factory.ubi...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-initramfs-uImage.itb...
⬆️ Uploading feeds.buildinfo...
⬆️ Uploading config.buildinfo...
Error: Request body length does not match content-length header

good ver-last week https://github.com/softprops/action-gh-release/tree/92bc83c4214f780e84c7d2a85464a2ca05ebc2f0

not good ver-nowsoftprops/action-gh-release@master https://github.com/softprops/action-gh-release/tree/7b4da11513bf3f43f9999e90eabced41ab8bb048

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 22
  • Comments: 17 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Heads-up: I’ve made a fix at https://github.com/softprops/action-gh-release/pull/562, waiting for merge and release. Sorry for the breakage!

Hmm, I will look into this.

Don’t use master,use v2 uses: softprops/action-gh-release@v2

The same goes for me. I saw the latest commit on master is releasing v2.2.0, so I am wondering why softprops/action-gh-release@v2 is able to work?

@xen0n since so many others have confirmed the same issue and are rolling back.

Can we instead revert back to commits at 2.1.0, and rerelease it?

Thinking this package will end up forgotten about and never updated should too many repos commit locks for python 2.10

Don’t use master,use v2 uses: softprops/action-gh-release@v2