Skip to content

Commit 34671e6

Browse files
authored
Switch from iam user to role (#417)
* switch from iam user to role * upgrade the upload-artifact action version
1 parent b30b3b9 commit 34671e6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/continuous-monitoring.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ jobs:
1313
uses: actions/checkout@v1
1414

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

2221
- name: Setup java

.github/workflows/master-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
files: ./jacoco/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
5555

56-
- uses: actions/upload-artifact@v2
56+
- uses: actions/upload-artifact@v4
5757
if: ${{ matrix.coverage }}
5858
with:
5959
name: coverage-report

.github/workflows/pr-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
files: ./jacoco/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
5656

57-
- uses: actions/upload-artifact@v2
57+
- uses: actions/upload-artifact@v4
5858
if: ${{ matrix.coverage }}
5959
with:
6060
name: coverage-report

0 commit comments

Comments
 (0)