mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 18:33:52 +08:00
8 lines
244 B
Bash
Executable File
8 lines
244 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "::set-output name=base_ref_branch::${INPUT_BASE_REF/refs\/heads\//}"
|
|
echo "::set-output name=head_ref_branch::${INPUT_HEAD_REF/refs\/heads\//}"
|
|
echo "::set-output name=ref_branch::${INPUT_REF/refs\/heads\//}"
|