mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-24 00:23:51 +08:00
8 lines
210 B
Bash
8 lines
210 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
echo "::set-output name=base_ref_branch::${0/refs\/heads\//}"
|
||
|
echo "::set-output name=head_ref_branch::${1/refs\/heads\//}"
|
||
|
echo "::set-output name=ref_branch::${2/refs\/heads\//}"
|