mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 20:53:50 +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: ./
|
uses: ./
|
||||||
- name: Show output
|
- name: Show output
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.branch-name.outputs.base_ref_branch }}"
|
echo "Current Branch: ${{ steps.branch-name.outputs.current_branch }}"
|
||||||
echo "${{ steps.branch-name.outputs.head_ref_branch }}"
|
echo "Base Ref: ${{ steps.branch-name.outputs.base_ref_branch }}"
|
||||||
echo "${{ steps.branch-name.outputs.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
|
- name: Test base ref output
|
||||||
if: github.event_name == 'pull_request' && !steps.branch-name.outputs.base_ref_branch
|
if: github.event_name == 'pull_request' && !steps.branch-name.outputs.base_ref_branch
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user