File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 86
86
run : |
87
87
echo "Current tag unset: ${{ steps.branch-names.outputs.tag }}"
88
88
exit 1
89
+ - name : Run test strip_branch_prefix
90
+ id : branch-names-strip_branch_prefix
91
+ uses : ./
92
+ with :
93
+ strip_branch_prefix : ' chore/'
94
+ - name : Show output
95
+ run : |
96
+ echo "Default Branch: ${{ steps.branch-names-strip_branch_prefix.outputs.default_branch }}"
97
+ echo "Current Branch: ${{ steps.branch-names-strip_branch_prefix.outputs.current_branch }}"
98
+ echo "Base Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.base_ref_branch }}"
99
+ echo "Head Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.head_ref_branch }}"
100
+ echo "Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.ref_branch }}"
101
+ echo "Is Default: ${{ steps.branch-names-strip_branch_prefix.outputs.is_default }}"
102
+ echo "Is Tag: ${{ steps.branch-names-strip_branch_prefix.outputs.is_tag }}"
103
+ echo "Current tag: ${{ steps.branch-names-strip_branch_prefix.outputs.tag }}"
You can’t perform that action at this time.
0 commit comments