File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,6 @@ runs:
155155 GITHUB_REPOSITORY : ${{ github.repository }}
156156 run : $GITHUB_ACTION_PATH/scripts/prepare-keys.sh
157157
158- - uses : aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
159- if : steps.cache-backend.outputs.cache-backend == 's3'
160- with :
161- aws-region : eu-central-1
162- aws-access-key-id : ${{ steps.aws-auth.outputs.AWS_ACCESS_KEY_ID }}
163- aws-secret-access-key : ${{ steps.aws-auth.outputs.AWS_SECRET_ACCESS_KEY }}
164- aws-session-token : ${{ steps.aws-auth.outputs.AWS_SESSION_TOKEN }}
165158 - name : Cache on S3
166159 if : steps.cache-backend.outputs.cache-backend == 's3'
167160 uses : runs-on/cache@50350ad4242587b6c8c2baa2e740b1bc11285ff4 # v4.3.0
@@ -170,6 +163,9 @@ runs:
170163 RUNS_ON_S3_BUCKET_CACHE : sonarsource-s3-cache-${{ inputs.environment }}-bucket
171164 AWS_DEFAULT_REGION : eu-central-1
172165 AWS_REGION : eu-central-1
166+ AWS_ACCESS_KEY_ID : ${{ steps.aws-auth.outputs.AWS_ACCESS_KEY_ID }}
167+ AWS_SECRET_ACCESS_KEY : ${{ steps.aws-auth.outputs.AWS_SECRET_ACCESS_KEY }}
168+ AWS_SESSION_TOKEN : ${{ steps.aws-auth.outputs.AWS_SESSION_TOKEN }}
173169 with :
174170 path : ${{ inputs.path }}
175171 key : ${{ steps.prepare-keys.outputs.branch-key }}
You can’t perform that action at this time.
0 commit comments