forked from aws-amplify/amplify-android
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.3 KB
/
maven_release_publisher.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Amplify Android Maven Release
on:
workflow_dispatch:
permissions:
id-token: write
jobs:
maven-release:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
with:
role-to-assume: ${{ secrets.AMPLIFY_ANDROID_RELEASE_PUBLISHER_ROLE }}
aws-region: us-east-1
- name: Start Integration Test
uses: aws-actions/aws-codebuild-run-build@f202c327329cbbebd13f986f74af162a8539b5fd # v1
with:
project-name: AmplifyAndroid-IntegrationTest
env-vars-for-codebuild: |
ORG_GRADLE_PROJECT_useAwsSdkReleaseBuild,
NUMBER_OF_DEVICES_TO_TEST
env:
ORG_GRADLE_PROJECT_useAwsSdkReleaseBuild: true
NUMBER_OF_DEVICES_TO_TEST: 3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
with:
role-to-assume: ${{ secrets.AMPLIFY_ANDROID_RELEASE_PUBLISHER_ROLE }}
aws-region: us-east-1
- name: Start Maven Release Build
uses: aws-actions/aws-codebuild-run-build@f202c327329cbbebd13f986f74af162a8539b5fd # v1
with:
project-name: AmplifyAndroid-ReleasePublisher