From 6811f2ede4e9fa4a017545755aeefc039732c81d Mon Sep 17 00:00:00 2001 From: juan-langa Date: Fri, 17 May 2024 15:03:20 +0200 Subject: [PATCH] GitHub Actions - Reusable workflows --- .github/workflows/z_Reusable_RegressionNoWallet.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/z_Reusable_RegressionNoWallet.yml b/.github/workflows/z_Reusable_RegressionNoWallet.yml index 7e9782e..471382f 100644 --- a/.github/workflows/z_Reusable_RegressionNoWallet.yml +++ b/.github/workflows/z_Reusable_RegressionNoWallet.yml @@ -32,17 +32,12 @@ jobs: node-version: 18 - name: Install dependencies run: yarn - - name: Run NO-WALLET tests - # run: BASE_URL=${{ inputs.base_url }} FLAGS_FEATURES=${{ inputs.flags_features}} yarn ${{ inputs.script }} + - name: Run NO-WALLET tests (with parameters) if: inputs.base_url run: BASE_URL=${{ inputs.base_url }} FLAGS_FEATURES=${{ inputs.flags_features}} yarn ${{ inputs.script }} - if: inputs.base_url == "" + - name: Run NO-WALLET tests (without parameters) + if: ${{ ! inputs.base_url }} run: yarn ${{ inputs.script }} - # run: ${{ inputs.base_url && 'BASE_URL='${{ inputs.base_url }} }} ${{ inputs.flags_features && 'FLAGS_FEATURES='${{ inputs.flags_features}} }} yarn ${{ inputs.script }} - # if: inputs.base_url - # run: BASE_URL=${{ inputs.base_url }} FLAGS_FEATURES=${{ inputs.flags_features}} yarn ${{ inputs.script }} - # if: !inputs.base_url - # run: yarn ${{ inputs.script }} - uses: actions/upload-artifact@v4 if: always() with: