mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Merge pull request #52 from tj-actions/chore/update-test-coverage
This commit is contained in:
commit
f107226331
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -63,6 +63,11 @@ jobs:
|
||||
run: |
|
||||
echo "Current branch unset: ${{ steps.branch-name.outputs.current_branch }}"
|
||||
exit 1
|
||||
- name: Test current branch output for tag based push event.
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && !steps.branch-name.outputs.current_branch
|
||||
run: |
|
||||
echo "Current branch unset: ${{ steps.branch-name.outputs.current_branch }}"
|
||||
exit 1
|
||||
- name: Test current tag for push events.
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && !steps.branch-name.outputs.tag
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user