Fix/fix wallet issue (#1983)

fix: change boolean to strings in conditionals
This commit is contained in:
Radosław Szpiech 2022-11-08 14:01:37 +01:00 committed by GitHub
parent 23d548ffbb
commit 55725930d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ inputs:
description: 'Wallet password'
capsule:
description: 'Is Capsule network used'
default: false
default: 'false'
runs:
using: 'composite'
steps:
@ -29,17 +29,17 @@ runs:
shell: bash
run: vegawallet key generate -w UI_Trading_Test -p ./passphrase --home ~/.vegacapsule/testnet/wallet
- name: Import fairground network
- name: Import network
shell: bash
if: ${{ inputs.capsule==false }}
if: ${{ inputs.capsule=='false' }}
run: vegawallet network import --from-url="https://raw.githubusercontent.com/vegaprotocol/networks-internal/master/stagnet3/stagnet3.toml" --force --home ~/.vegacapsule/testnet/wallet
- name: Start service using fairground network
shell: bash
if: ${{ inputs.capsule==false }}
if: ${{ inputs.capsule=='false' }}
run: vegawallet service run --network stagnet3 --automatic-consent --no-version-check --home ~/.vegacapsule/testnet/wallet &
- name: Start service using capsule network
shell: bash
if: ${{ inputs.capsule==true }}
if: ${{ inputs.capsule=='true' }}
run: vegawallet service run --network DV --automatic-consent --home ~/.vegacapsule/testnet/wallet &

View File

@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set tags
run: echo TAGS="--env.grepTags [ ${{ github.event.inputs.tags }} ]" >> $GITHUB_ENV
run: echo TAGS="--env.grepTags '[ ${{ github.event.inputs.tags }} ]'" >> $GITHUB_ENV
- name: Set --skip-nx-cache flag
if: ${{ github.event.inputs.skip-nx-cache == 'true' }}

View File

@ -15,5 +15,5 @@ jobs:
project: '[console-lite-e2e, explorer-e2e, liquidity-provisioning-dashboard-e2e, stats-e2e, token-e2e, trading-e2e]'
vega-version: 'v0.58.0'
gobin: /home/runner/go/bin
tags: '@smoke, @regression, @slow'
tags: --env.grepTags '[ @smoke, @regression, @slow ]'
night-run: true