Skip to content

Commit

Permalink
GitHub Actions - Reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-langa committed May 17, 2024
1 parent a87f8a1 commit 6811f2e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/z_Reusable_RegressionNoWallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6811f2e

Please sign in to comment.