Only: output invalid branch name in GHA
This commit is contained in:
parent
c2f13970c4
commit
bc6b5ecfc3
|
@ -157,7 +157,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check branch name
|
||||
if: ${{ contains(github.ref_name, '.') }}
|
||||
run: echo '::error::Branch names must not contain ".", this breaks firmware autoupdates.' && exit 1
|
||||
run: echo '::error::Branch names must not contain ".", this breaks firmware autoupdates. Branch name is "${{ github.ref_name }}".' && exit 1
|
||||
|
||||
- name: Set run condition variables 2
|
||||
run: |
|
||||
|
|
|
@ -88,7 +88,7 @@ runs:
|
|||
if: ${{ contains(github.ref_name, '.') }}
|
||||
run: |
|
||||
: Check branch name
|
||||
echo '::error::Branch names must not contain ".", this breaks firmware autoupdates.' && exit 1
|
||||
echo '::error::Branch names must not contain ".", this breaks firmware autoupdates. Branch name is "${{ github.ref_name }}".' && exit 1
|
||||
|
||||
- name: Mask Secrets
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue