Skip to content

Commit 0af7943

Browse files
authored
chore: add action to run snapshot release github action (#3004)
* chore: add action to run snapshot release github action * chore: add action to run snapshot release github action * chore: add action to run snapshot release github action * run amplify unit & intgeration * fix syntax * fix syntax * add manual dispatch * fix branch * add env variables * add env variables * add env variables * add env variables * add env variables * add env variables * add srouce override * chore: Add github actions to trigger snapshot release on push to main
1 parent d3a10cf commit 0af7943

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Android SDK Snapshot Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
id-token: write
10+
11+
jobs:
12+
snapshot-release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Configure AWS Credentials
16+
uses: aws-actions/configure-aws-credentials@v1
17+
with:
18+
role-to-assume: ${{ secrets.SNAPSHOT_PUBLISHER_ROLE }}
19+
aws-region: us-east-1
20+
- name: Start Snapshot Release
21+
uses: aws-actions/aws-codebuild-run-build@v1
22+
with:
23+
project-name: AndroidSDK-SnapshotRelease

0 commit comments

Comments
 (0)