Skip to content

Commit

Permalink
Register exitcode output of the action
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jul 29, 2024
1 parent bcdd034 commit 6591c4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ inputs:
$GITHUB_WORKSPACE. By default, Darker is run in $GITHUB_WORKSPACE.
required: false
default: '.'
outputs:
exitcode:
description: "Exit code of Darker"
value: steps.darker.outputs.exitcode
branding:
color: "black"
icon: "check-circle"
Expand All @@ -49,6 +53,7 @@ runs:
pip install pip-requirements-parser
shell: bash
- name: Run Darker
id: darker
run: |
# Exists since using github.action_path + path to main script doesn't
# work because bash interprets the backslashes in github.action_path
Expand Down

0 comments on commit 6591c4b

Please sign in to comment.