mirror of https://github.com/rusefi/rusefi.git
[LTS] Fail firmware builds if . in branch name (#5010)
* check for dot * put message * make error more visible
This commit is contained in:
parent
d7c183debd
commit
05eed39ca7
|
@ -286,6 +286,9 @@ jobs:
|
||||||
skip-rate: 95
|
skip-rate: 95
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check branch name
|
||||||
|
if: ${{ contains(github.ref_name, '.') }}
|
||||||
|
run: echo '::error::Branch names must not contain ".", this breaks firmware autoupdates.' && exit 1
|
||||||
- name: Execution throttle early exit
|
- name: Execution throttle early exit
|
||||||
# Don't skip any jobs if this workflow was run manually.
|
# Don't skip any jobs if this workflow was run manually.
|
||||||
if: ${{ matrix.skip-rate && github.event_name != 'workflow_dispatch' }}
|
if: ${{ matrix.skip-rate && github.event_name != 'workflow_dispatch' }}
|
||||||
|
@ -444,6 +447,9 @@ jobs:
|
||||||
build-primary-bundle:
|
build-primary-bundle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check branch name
|
||||||
|
if: ${{ contains(github.ref_name, '.') }}
|
||||||
|
run: echo '::error::Branch names must not contain ".", this breaks firmware autoupdates.' && exit 1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
Loading…
Reference in New Issue