Only: output invalid branch name in GHA

This commit is contained in:
kifir 2024-07-01 16:51:16 +03:00 committed by rusefillc
parent c2f13970c4
commit bc6b5ecfc3
2 changed files with 2 additions and 2 deletions

View File

@ -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: |

View File

@ -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