Skip to content

Commit

Permalink
Attempt format for E2E_ENVIRONMENT
Browse files Browse the repository at this point in the history
Multiline included a newline at the end of the value.
  • Loading branch information
gsf committed Aug 31, 2024
1 parent f82c00f commit 5c0f693
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ jobs:
- name: Run e2e-test
env:
E2E_ENVIRONMENT: |
${{ fromJson('{ "dev": "DEV", "test": "IMPL", "sbx": "SANDBOX" }')[inputs.environment] }}
E2E_ENVIRONMENT: ${{ format('{0}', fromJson('{ "dev": "DEV", "test": "IMPL", "sbx": "SANDBOX" }')[inputs.environment]) }}
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 5c0f693

Please sign in to comment.