mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:43:51 +08:00
Update test.yml
This commit is contained in:
parent
947917ad6a
commit
796c67a499
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -20,9 +20,10 @@ jobs:
|
||||
uses: ./
|
||||
- name: Show output
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||
echo "${{ steps.branch-name.outputs.head_ref_branch }}"
|
||||
echo "${{ steps.branch-name.outputs.ref_branch }}"
|
||||
echo "Current Branch: ${{ steps.branch-name.outputs.current_branch }}"
|
||||
echo "Base Ref: ${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||
echo "Head Ref: ${{ steps.branch-name.outputs.head_ref_branch }}"
|
||||
echo "Ref: ${{ steps.branch-name.outputs.ref_branch }}"
|
||||
- name: Test base ref output
|
||||
if: github.event_name == 'pull_request' && !steps.branch-name.outputs.base_ref_branch
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user