通过二进制上传图片,报错cannot be used to imply a default content-type, please set a proper content-type in the request #1150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish from comments | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
publish: | |
# https://github.com/cfug/dio/issues/1633 | |
if: github.event.issue.number == 1633 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.CFUG_PUBLISHER }} | |
- uses: dart-lang/[email protected] | |
- uses: cfug/dio_issue_release_action@v2 | |
with: | |
github-token: ${{ secrets.CFUG_PUBLISHER }} | |
pub-credentials-json: ${{ secrets.CREDENTIAL_JSON }} |