Skip to content

Commit 6b5444a

Browse files
authored
Merge pull request #48 from haya14busa/fix-output
fix outputs
2 parents fb208c1 + 7c3a09c commit 6b5444a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,21 @@ inputs:
2121
outputs:
2222
current_version:
2323
description: "current version"
24+
value: "${{ steps.bumpr.outputs.current_version }}"
2425
next_version:
2526
description: "next version"
27+
value: "${{ steps.bumpr.outputs.next_version }}"
2628
skip:
2729
description: "True if release is skipped. e.g. No labels attached to PR."
30+
value: "${{ steps.bumpr.outputs.skip }}"
2831
message:
2932
description: "Tag message"
33+
value: "${{ steps.bumpr.outputs.message }}"
3034
runs:
3135
using: 'composite'
3236
steps:
33-
- run: $GITHUB_ACTION_PATH/entrypoint.sh
37+
- id: bumpr
38+
run: $GITHUB_ACTION_PATH/entrypoint.sh
3439
shell: bash
3540
env:
3641
INPUT_DEFAULT_BUMP_LEVEL: ${{ inputs.default_bump_level }}

entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
set -e
3-
set -x # Debug
43

54
if [ -n "${GITHUB_WORKSPACE}" ]; then
65
git config --global --add safe.directory "${GITHUB_WORKSPACE}" || exit

0 commit comments

Comments
 (0)