action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

append_body are not expected as inputs

Open tuxtof opened this issue 3 years ago • 1 comments

I have the following actions

    - name: create release
      uses: softprops/action-gh-release@v1
      with:
        draft: false
        prerelease: true
        body_path: ${{ github.workspace }}-CHANGELOG.txt
        generate_release_notes: true
        append_body: true
        files: |
          xxx.yaml
          yyy.yaml
          zzz.yaml

every time I launch it I have the following warning

[Build Release] Unexpected input(s) 'append_body', valid inputs are ['body', 'body_path', 'name', 'tag_name', 'draft', 'prerelease', 'files', 'fail_on_unmatched_files', 'repository', 'token', 'target_commitish', 'discussion_category_name', 'generate_release_notes']

???

tuxtof avatar Jun 09 '22 10:06 tuxtof

This feature was added by me. But @softprops not released this yet.

So you have to use master branch instead of v1 tag. See issue: https://github.com/softprops/action-gh-release/issues/216

abcfy2 avatar Jun 22 '22 06:06 abcfy2