Skip to content

Commit

Permalink
Get Latest Uploaded Release Candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
sethAmazon committed Oct 21, 2021
1 parent f629356 commit 4c54cc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/soaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:

- name: Download Candidate from the latest commit
if: github.event_name != 'repository_dispatch'
run: aws s3 cp "s3://aws-otel-collector-release-candidate/${{ github.sha }}.tar.gz" ./candidate.tar.gz
run: |
KEY=`aws s3 ls aws-otel-collector-release-candidate | sort | tail -n 1 | awk '{print $4}'`
aws s3 cp s3://aws-otel-collector-release-candidate/$KEY ./candidate.tar.gz
- name: Download Candidate base on dispatch payload
if: github.event_name == 'repository_dispatch'
Expand Down

0 comments on commit 4c54cc2

Please sign in to comment.