chore(ci): add missing quote marks that may have caused some workflow fails (#4963)
This commit is contained in:
parent
8b249e1917
commit
73ae00f12c
6
.github/workflows/ci-cd-trigger.yml
vendored
6
.github/workflows/ci-cd-trigger.yml
vendored
@ -187,11 +187,11 @@ jobs:
|
|||||||
- name: Check branch
|
- name: Check branch
|
||||||
id: check-test
|
id: check-test
|
||||||
run: |
|
run: |
|
||||||
if [ ${{ github.base_ref }} == 'develop' ]; then
|
if [ '${{ github.base_ref }}' == 'develop' ]; then
|
||||||
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
||||||
elif [ ${{ github.base_ref }} == 'main' ]; then
|
elif [ '${{ github.base_ref }}' == 'main' ]; then
|
||||||
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
||||||
elif [[ ${{ github.event_name }} == 'push' && ${{ contains(github.ref_name, 'release/') }} ]]; then
|
elif [[ '${{ github.event_name }}' == 'push' && ${{ contains(github.ref_name, 'release/') }} ]]; then
|
||||||
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
echo "e2e-needed=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "e2e-needed=false" >> $GITHUB_OUTPUT
|
echo "e2e-needed=false" >> $GITHUB_OUTPUT
|
||||||
|
6
.github/workflows/cypress-run.yml
vendored
6
.github/workflows/cypress-run.yml
vendored
@ -21,11 +21,11 @@ jobs:
|
|||||||
- name: Check branch
|
- name: Check branch
|
||||||
id: step
|
id: step
|
||||||
run: |
|
run: |
|
||||||
if [ ${{ github.base_ref }} == 'main' ]; then
|
if [ '${{ github.base_ref }}' == 'main' ]; then
|
||||||
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
||||||
elif [[ ${{ github.base_ref }} == 'develop' && ${{ github.ref_name }} == 'main' ]]; then
|
elif [[ '${{ github.base_ref }}' == 'develop' && '${{ github.ref_name }}' == 'main' ]]; then
|
||||||
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
||||||
elif [[ ${{ github.event_name }} == 'push' && ${{ contains(github.ref_name, 'release/mainnet') }} ]]; then
|
elif [[ '${{ github.event_name }}' == 'push' && ${{ contains(github.ref_name, 'release/mainnet') }} ]]; then
|
||||||
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "runner=self-hosted-runner" >> $GITHUB_OUTPUT
|
echo "runner=self-hosted-runner" >> $GITHUB_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user