Action successful but now showing up under assets in release
nnofel opened this issue · comments
Nofel Mahmood commented
The action shows that it is finished successfully but the asset uploaded doesn't show under the Release
Sven-Hendrik Haase commented
Does the log say anything?
Nofel Mahmood commented
Sven-Hendrik Haase commented
Did the release already exist?
Nofel Mahmood commented
@svenstaro yes it did. In fact my workflow gets triggered on the create release event.
Mauricio Caceres Bravo commented
@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
Jan-Hendrik Ewers commented
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 }}"