File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 sha :
66 description : ' the commit sha which was performance tested'
77 required : true
8+ branch :
9+ description : ' the branch which the results should be commited in'
10+ required : false
11+ default : ' master'
812
913permissions :
1014 id-token : write # This is required for requesting the JWT
@@ -18,11 +22,13 @@ jobs:
1822 role-to-assume : arn:aws:iam::637423498965:role/GitHubActionGrahQLJava
1923 aws-region : " ap-southeast-2"
2024 - uses : actions/checkout@v4
25+ with :
26+ ref : ${{ github.event.inputs.branch }}
2127 - run : |
22- aws s3 cp s3://graphql-java-jmh-output/${{ github.event.inputs.sha }}-jdk17.json ./performance-results
28+ aws s3 cp s3://graphql-java-jmh-output/ ./performance-results --recursive --exclude "*" --include "*- ${{ github.event.inputs.sha }}-jdk17.json"
2329 git config user.name "github-actions[bot]"
2430 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
25- git add performance-results/${{ github.event.inputs.sha }}-jdk17.json
31+ git add performance-results/*- ${{ github.event.inputs.sha }}-jdk17.json
2632 if [ -z "$(git status --porcelain)" ]; then
2733 echo "Performance results already present"
2834 exit 0
You can’t perform that action at this time.
0 commit comments