Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds support for a debug input in the release action #23

Closed
wants to merge 2 commits into from

Conversation

Toolo
Copy link
Contributor

@Toolo Toolo commented Sep 28, 2023

Description

This PR adds support for a "debug" parameter in the semantic-release GHA.

Changes

  • feat: adds support for a debug input in the release action
  • build: builds output files

🚀 PR created with fotingo

@Toolo Toolo requested a review from a team as a code owner September 28, 2023 14:17
@github-actions
Copy link

Release notes preview

Below is a preview of the release notes if your PR gets merged.


3.1.0 (2023-09-28)

Features

  • adds support for a debug input in the release action (3e04599)

Build System

@github-actions
Copy link

Pull Request Test Coverage Report for Build 6340169355

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.879%

Totals Coverage Status
Change from base Build 6202227478: 0.0%
Covered Lines: 41
Relevant Lines: 44

💛 - Coveralls

@greenkiwi
Copy link
Contributor

@Toolo it looks like we have to rebase and then rebuild the dist.

Copy link
Contributor

@shakefu shakefu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub actions has a standard RUNNER_DEBUG=1 environment variable for enabling debug output - we should use that instead of creating a custom input.

Docs (https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging) suggest we could add support for add'l vars as well, though I think they just get mapped to RUNNER_DEBUG internally.

The code itself does check RUNNER_DEBUG for core.debug(...) output: https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L121

@Toolo Toolo closed this Jan 22, 2024
@Toolo Toolo deleted the f/add_optional_debug_parameter branch January 22, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants