Skip to content

PREQ-3880 persist AWS_PROFILE in post step#31

Closed
mikolaj-matuszny-ext-sonarsource wants to merge 3 commits intomasterfrom
feat/mmatuszny/PREQ-3880-fix
Closed

PREQ-3880 persist AWS_PROFILE in post step#31
mikolaj-matuszny-ext-sonarsource wants to merge 3 commits intomasterfrom
feat/mmatuszny/PREQ-3880-fix

Conversation

@mikolaj-matuszny-ext-sonarsource
Copy link
Contributor

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource commented Feb 2, 2026

Tested in https://github.com/SonarSource/sonar-dummy/actions/runs/21586136174/job/62194656615?pr=547#step:11:7

Export AWS_PROFILE to GITHUB_ENV so the profile persists to post steps (cache save). This is necessary because step-level env vars don't persist to post steps.

@mikolaj-matuszny-ext-sonarsource mikolaj-matuszny-ext-sonarsource force-pushed the feat/mmatuszny/PREQ-3880-fix branch 2 times, most recently from 227e072 to 25fc020 Compare February 2, 2026 10:33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment does not match the test, which is successful.
The test may not properly reproduce the failing behavior.
It was already reported that there are conflicts with external usage of configure-aws-credentials before or after call to this action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants