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

No output?

Open temp opened this issue 6 months ago • 6 comments

Environment

Is there a way to configure the verbosity of the output of the action? Right now it is completely empty (for me). I'd like to see a summary of what was created. Or am I missing something?

Version

v3

Steps to Reproduce

      - name: Create Sentry release
        if: steps.semantic.outputs.new_release_version
        uses: getsentry/action-release@v3
        env:
          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
          SENTRY_PROJECT: ${{ env.SENTRY_PROJECT }}

Expected Result

Actual Result

Image

temp avatar Jun 18 '25 07:06 temp

Hi @temp, what kind of logs would you be interested in? You can set ACTIONS_STEP_DEBUG to true in your repository settings to get debug logs, but maybe we could consider turning some of the debug logs into info logs.

andreiborza avatar Jun 18 '25 08:06 andreiborza

@andreiborza While adding this action I got weird results in some places (like a hash-release version), and I didn't know why. Would be nice to see what was really created, and maybe why? Something like "Created release 1.2.3 from git tag refs/tag/1.2.3" or something like that. Or in my case "Created release abcdef from commit hash". (my problem was running a default-branch-pipeline with semantic release in a prior step, and the sentry-action didn't see a tag in the pipeline, and thus created a version via commit hash),

temp avatar Jun 18 '25 09:06 temp

If you enable the debug flag I mentioned above you do get some logs like that (although they could be worded a bit better I suppose):

Image

andreiborza avatar Jun 18 '25 09:06 andreiborza

Ok, nice, that would've helped. Just search for ACTIONS_STEP_DEBUG, didn't find anything (only this ticket here), maybe this should be documented? Neverthelaess, some of these log items could really be raised to INFO. This would really help.

temp avatar Jun 18 '25 09:06 temp

It's a GitHub actions debug flag, not something necessarily maintained by us but we could maybe add this to the README.

andreiborza avatar Jun 18 '25 09:06 andreiborza

Oh sorry, didn't know that one. Thanks!

temp avatar Jun 18 '25 09:06 temp