Skip to content

Commit

Permalink
Switch from iam user to role (#417)
Browse files Browse the repository at this point in the history
* switch from iam user to role

* upgrade the upload-artifact action version
  • Loading branch information
srprash authored Dec 19, 2024
1 parent b30b3b9 commit 34671e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/continuous-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
uses: actions/checkout@v1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AWS_INTEG_TEST_ROLE_ARN }}
aws-region: us-east-1

- name: Setup java
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
files: ./jacoco/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ matrix.coverage }}
with:
name: coverage-report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
with:
files: ./jacoco/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ matrix.coverage }}
with:
name: coverage-report
Expand Down

0 comments on commit 34671e6

Please sign in to comment.