Skip to content

Commit

Permalink
Switch E2E_ENVIRONMENT value map to ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
gsf committed Aug 31, 2024
1 parent 5c0f693 commit b0617a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ jobs:
- name: Run e2e-test
env:
E2E_ENVIRONMENT: ${{ format('{0}', fromJson('{ "dev": "DEV", "test": "IMPL", "sbx": "SANDBOX" }')[inputs.environment]) }}
E2E_ENVIRONMENT: ${{ inputs.environment == 'dev' && 'DEV' || inputs.environment == 'test' && 'IMPL' || inputs.environment == 'sbx' && 'SANDBOX' }}
run: |
mvn test -s settings.xml -pl e2e-test -am -Dtest=TestRunner -DfailIfNoTests=false -Dusername=$ARTIFACTORY_USER -Dpassword=$ARTIFACTORY_PASSWORD -Drepository_url=$ARTIFACTORY_URL --no-transfer-progress

0 comments on commit b0617a4

Please sign in to comment.