File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1414 DOWNLOAD_FOLDER : ' .build-scripts/'
1515 SCRIPT_LOCATION : ' workflows/start-pull-request-build/pull-request-build-v1.sh'
1616
17- # custom variables
18- ROLE_SESSION_DURATION_SECONDS : 7200
19-
2017jobs :
2118 aws-sdk-pr-build :
2219 if : github.event.review.state == 'approved'
3229 with :
3330 role-to-assume : ${{ env.IAM_ROLE_ARN }}
3431 role-session-name : PullRequestBuildGitHubAction
35- role-duration-seconds : ' $ROLE_SESSION_DURATION_SECONDS '
32+
3633 aws-region : us-west-2
34+ role-duration-seconds : 7200
3735 - name : Download Build Script
3836 run : |
3937 aws s3 cp s3://aws-sdk-builds-github-assets-prod-us-west-2/$SCRIPT_LOCATION ./$DOWNLOAD_FOLDER/$SCRIPT_LOCATION --no-progress
4745 RUN_ID : ${{ github.run_id }}
4846 run : |
4947 ./$DOWNLOAD_FOLDER/$SCRIPT_LOCATION \
50- --repo "$REPO " \
48+ --repo "${{ github.repository }} " \
5149 --branch "$HEAD_REF" \
52- --pr-number "$PR_NUMBER " \
53- --run-id "$RUN_ID "
50+ --pr-number "${{ github.event.pull_request.number }} " \
51+ --run-id "${{ github.run_id }} "
5452 timeout-minutes : 180
You can’t perform that action at this time.
0 commit comments