Skip to content

Commit f4c921a

Browse files
authored
Merge pull request #2 from HarperDB/upload-s3
[CORE-2799] Upload prebuild artifacts to S3
2 parents 93c595f + dddff79 commit f4c921a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ jobs:
115115
with:
116116
path: artifacts
117117

118+
- name: Configure AWS credentials
119+
uses: aws-actions/configure-aws-credentials@v4
120+
with:
121+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
122+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
123+
aws-region: us-east-2
124+
125+
- name: Upload artifacts to S3
126+
run: |
127+
aws s3 cp artifacts/ s3://harper-artifacts/rocksdb-prebuilds/v${{ needs.check.outputs.version }}/ --recursive
128+
118129
- name: Create release
119130
uses: softprops/action-gh-release@v2
120131
with:

0 commit comments

Comments
 (0)