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' description: 'Wallet password'
capsule: capsule:
description: 'Is Capsule network used' description: 'Is Capsule network used'
default: false default: 'false'
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
@ -29,17 +29,17 @@ runs:
shell: bash shell: bash
run: vegawallet key generate -w UI_Trading_Test -p ./passphrase --home ~/.vegacapsule/testnet/wallet run: vegawallet key generate -w UI_Trading_Test -p ./passphrase --home ~/.vegacapsule/testnet/wallet
- name: Import fairground network - name: Import network
shell: bash 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 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 - name: Start service using fairground network
shell: bash 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 & run: vegawallet service run --network stagnet3 --automatic-consent --no-version-check --home ~/.vegacapsule/testnet/wallet &
- name: Start service using capsule network - name: Start service using capsule network
shell: bash shell: bash
if: ${{ inputs.capsule==true }} if: ${{ inputs.capsule=='true' }}
run: vegawallet service run --network DV --automatic-consent --home ~/.vegacapsule/testnet/wallet & run: vegawallet service run --network DV --automatic-consent --home ~/.vegacapsule/testnet/wallet &

View File

@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set tags - 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 - name: Set --skip-nx-cache flag
if: ${{ github.event.inputs.skip-nx-cache == 'true' }} 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]' project: '[console-lite-e2e, explorer-e2e, liquidity-provisioning-dashboard-e2e, stats-e2e, token-e2e, trading-e2e]'
vega-version: 'v0.58.0' vega-version: 'v0.58.0'
gobin: /home/runner/go/bin gobin: /home/runner/go/bin
tags: '@smoke, @regression, @slow' tags: --env.grepTags '[ @smoke, @regression, @slow ]'
night-run: true night-run: true