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

Action successful but now showing up under assets in release

Open nnofel opened this issue 3 years ago • 6 comments

The action shows that it is finished successfully but the asset uploaded doesn't show under the Release

nnofel avatar Jul 31 '20 13:07 nnofel

Does the log say anything?

svenstaro avatar Jul 31 '20 13:07 svenstaro

Screenshot 2020-07-31 at 16 01 14

nnofel avatar Jul 31 '20 14:07 nnofel

Did the release already exist?

svenstaro avatar Aug 03 '20 08:08 svenstaro

@svenstaro yes it did. In fact my workflow gets triggered on the create release event.

nnofel avatar Aug 04 '20 12:08 nnofel

@svenstaro I am having this exact issue as well (same log). The relevant section in my file:

      - uses: svenstaro/upload-release-action@v2
        with:
          repo_token: ${{ secrets.COMPILE_TOKEN }}
          file: src/build/file
          tag: ${{ github.ref }}
          overwrite: true

mcaceresb avatar Oct 23 '21 16:10 mcaceresb

Same issue on my end

      - name: Upload the release
        uses: svenstaro/upload-release-action@v2
        with:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          tag: ${{ github.ref }}
          file: main.pdf
          overwrite: true
          asset_name: "${{needs.setup-envs.outputs.tag-name}}.pdf"
          release_name: "${{needs.setup-envs.outputs.tag-name}}"
          body: "${{ needs.setup-envs.outputs.release_body }}"

iwishiwasaneagle avatar Jan 14 '22 18:01 iwishiwasaneagle