chore(ci): add mainnet compatible runner to release mainnet branch push actions (#4936)
This commit is contained in:
parent
0e519f4d0e
commit
3a149ddfb2
5
.github/workflows/cypress-run.yml
vendored
5
.github/workflows/cypress-run.yml
vendored
@ -23,10 +23,15 @@ jobs:
|
|||||||
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.event_name }} == 'push' ] && [ ${{ contains(github.ref_name, 'release/mainnet') }} ]; then
|
||||||
|
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "runner=self-hosted-runner" >> $GITHUB_OUTPUT
|
echo "runner=self-hosted-runner" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Print runner
|
||||||
|
run: echo ${{ steps.step.outputs.runner }}
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
Loading…
Reference in New Issue
Block a user