File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name: Upload minimal tar to S3
2+ on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+ branches:
7+ - main
8+ workflow_dispatch: {}
9+ jobs:
10+ upload_tar_to_s3:
11+ # Let's make this fast by using a beefy runner.
12+ runs-on: ubuntu-latest
13+
14+ permissions:
15+
16+ steps:
17+ - name: Configure AWS credentials
18+ uses: aws-actions/configure-aws-credentials@v5
19+ with:
20+ aws-region: ${{ vars.RP_AWS_CRED_REGION }}
21+ role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
22+
23+ - uses: actions/checkout@v5
24+
25+ - name: Install java
26+ run: sudo apt-get update && sudo apt-get install -y maven default-jdk
27+
28+ - name: Build binaries
29+ run: mvn clean compile package -DskipTests
30+
31+ - name: Upload to S3 bucket
32+ run: |
33+ aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://perf-team-public/tmp/omb_minimal_${{ github.sha }}.tar.gz
You can’t perform that action at this time.
0 commit comments