Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Jul 11, 2023
1 parent 573953f commit 17be111
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/CI-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:
push:
branches:
- "*"

permissions:
id-token: write
contents: write
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
Build-ml:
Expand All @@ -20,10 +21,12 @@ jobs:
#if: github.repository == 'opensearch-project/ml-commons'
runs-on: ubuntu-latest
steps:
- uses: aws-actions/configure-aws-credentials@v1
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::419213735998:role/ml-role
aws-region: us-east-1
role-session-name: samplerolesession
aws-region: us-west-2

- name: Test print
run: |
Expand Down

0 comments on commit 17be111

Please sign in to comment.