svenstaro/upload-release-action

file_glob missing size according to GitHub API

MikaelX opened this issue · 1 comments

Hi

Thanks for a great little application, trying to run the file_glob for the first time here and get the following issue which I presume is GitHub API's response:

Validation Failed: {"resource":"ReleaseAsset","code":"custom","field":"size","message":"size is not included in the list"}
image

Here's my steps

steps:
  - name: Upload assets
    uses: svenstaro/upload-release-action@v2
    with:
      repo_token: ${{ secrets.GITHUB_TOKEN }}
      file: build/*
      tag: ${{ github.ref }}
      overwrite: true
      file_glob: true

@MikaelX could be a zero-length file.