File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1313 test_duration_minutes :
1414 description : ' The duration of the Soak Tests in minutes.'
1515 required : true
16- default : 300
16+ default : " 300"
1717 schedule :
1818 - cron : ' 0 15 * * *'
1919env :
@@ -53,16 +53,20 @@ jobs:
5353 # MARK: - GitHub Workflow Event Type Specific Values
5454
5555 - name : Use INPUT as commit SHA
56+ env :
57+ TARGET_SHA : ${{ github.event.inputs.target_commit_sha }}
5658 if : ${{ github.event_name == 'workflow_dispatch' }}
5759 run : |
58- echo "TARGET_SHA=${{ github.event.inputs.target_commit_sha }} " | tee --append $GITHUB_ENV;
60+ echo "$TARGET_SHA " | tee --append $GITHUB_ENV;
5961 - name : Use LATEST as commit SHA
6062 if : ${{ github.event_name != 'workflow_dispatch' }}
6163 run : |
6264 echo "TARGET_SHA=${{ github.sha }}" | tee --append $GITHUB_ENV;
6365 - name : Configure Performance Test Duration
66+ env :
67+ TEST_DURATION_MINUTES : ${{ github.event.inputs.test_duration_minutes || env.DEFAULT_TEST_DURATION_MINUTES }}
6468 run : |
65- echo "TEST_DURATION_MINUTES=${{ github.event.inputs.test_duration_minutes || env.DEFAULT_TEST_DURATION_MINUTES }} " | tee --append $GITHUB_ENV;
69+ echo "$TEST_DURATION_MINUTES " | tee --append $GITHUB_ENV;
6670 - name : Clone This Repo @ ${{ env.TARGET_SHA }}
6771 uses : actions/checkout@v3
6872 with :
You can’t perform that action at this time.
0 commit comments