update build.yml
This commit is contained in:
@@ -62,3 +62,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: android-stream-chat-v1
|
name: android-stream-chat-v1
|
||||||
path: packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk
|
path: packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk
|
||||||
|
- name: Configure AWS credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
|
with:
|
||||||
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
aws-region: us-east-1
|
||||||
|
- name: Upload APK
|
||||||
|
run: |
|
||||||
|
cp packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk flutter-sample-app.apk
|
||||||
|
aws s3 cp flutter-sample-app.apk s3://${{ secrets.AWS_S3_BUCKET }} --sse AES256
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user