Skip to content

Commit

Permalink
A0-4278 fixes (#54)
Browse files Browse the repository at this point in the history
* A0-4278: Fixed finality-version check when FE starts

* Testing

* More testing

* Revert testing
  • Loading branch information
Marcin-Radecki authored May 22, 2024
1 parent 2c210a1 commit b8a513e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create-featurenet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ runs:
echo "!!! Invalid sudo-account-id"
exit 1
fi
if [[ ! '${{ inputs.finality-version }}' =~ ^[0-9]+$ ]]; then
if [[ '${{ inputs.finality-version }}' != "" && \
! '${{ inputs.finality-version }}' =~ ^[0-9]+$ ]]; then
echo "!!! finality-version must be a cardinal number"
exit 1
fi
Expand Down

0 comments on commit b8a513e

Please sign in to comment.