fix get env from version regex (#2120)
* fix get env from version regex * Fix regex
This commit is contained in:
parent
e924fb001c
commit
13bd0c4784
1 changed files with 1 additions and 2 deletions
3
.github/workflows/tests-nightly.yml
vendored
3
.github/workflows/tests-nightly.yml
vendored
|
@ -158,8 +158,7 @@ jobs:
|
|||
env:
|
||||
version: ${{github.event.client_payload.version}}
|
||||
run: |
|
||||
echo "::set-output name=formatted_version::$(echo $version | grep -Eo "\d\.\d" | sed s/\\.// | head -n 1 | { read formatted; echo "$formatted"; })"
|
||||
echo "$formatted_version"
|
||||
echo "::set-output name=formatted_version::$(echo $version | grep -ohE "[0-9]\.[0-9]+" | sed s/\\.// )"
|
||||
|
||||
- name: Cypress run - automatically
|
||||
uses: cypress-io/github-action@v4
|
||||
|
|
Loading…
Reference in a new issue