Releases: SonarSource/gh-action_cache
v1.1.4
BREAKING CHANGE
This release introduces a bug in unknown race conditions: see BUILD-10339
Could not load credentials from any providers
Prefer using v1.1.3 unless v1.1.4 is not failing in your case and resolving the save post step.
What's Changed
- PREQ-3880 AWS credentials refactor by @mikolaj-matuszny-ext-sonarsource in #32
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
- BUILD-9976 Move AWS credentials to named profile by @mikolaj-matuszny-ext-sonarsource in #30
Full Changelog: v1.1.2...v1.1.3
v1.1.2
What's Changed
- Revert "BUILD-9956 fix post run aws auth" by @julien-carsique-sonarsource in #29
This release is breaking the Post Run cache save, in order to preserve the AWS environment.
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
Bug Fixes
- BUILD-9956 fix post run aws auth by @julien-carsique-sonarsource in #28
Workaround: backup the credentials after calling the action, set the other credentials, do some work..., restore the gh-action_cache credentials as the last step
- uses: SonarSource/gh-action_cache@v1
- name: Backup Credentials
shell: bash
run: |
{
echo "BAK_AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID"
echo "BAK_AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY"
echo "BAK_AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN"
} >> "$GITHUB_ENV"
- uses: aws-actions/configure-aws-credentials@... # custom usage
...
- name: Restore Credentials # restore gh-action_cache in the last step
shell: bash
run: |
{
echo "AWS_ACCESS_KEY_ID=$BAK_AWS_ACCESS_KEY_ID"
echo "AWS_SECRET_ACCESS_KEY=$BAK_AWS_SECRET_ACCESS_KEY"
echo "AWS_SESSION_TOKEN=$BAK_AWS_SESSION_TOKEN"
} >> "$GITHUB_ENV"
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
New Features
- BUILD-9795 New input
fallback-branchfor additional cache fallback branch by @mikolaj-matuszny-ext-sonarsource in #25 - BUILD-9956 import code from ci-github-actions/cache by @julien-carsique-sonarsource in #27 : ci-github-actions/cache is now deprecated and gh-action_cache manages the redirection to actions/cache or runs-on/cache depending on the repository visibility.
Improvements
- BUILD-9795 Add guardrails for default branch cache fallback by @mikolaj-matuszny-ext-sonarsource in #24
- BUILD-9795 Add workflow dispatch option by @mikolaj-matuszny-ext-sonarsource in #26
Full Changelog: v1.0.5...v1.1.0
v1.0.5
What's Changed
Bug Fixes
- BUILD-9771 reduce AWS creds exposure by @julien-carsique-sonarsource in #22
Full Changelog: v1.0.4...v1.0.5
v1.0.4
What's Changed
- BUILD-9492 update runs-on/cache reference by @mikolaj-matuszny-ext-sonarsource in #20
- Set DEFAULT_REGION to avoid conflicts by @mikolaj-matuszny-ext-sonarsource in #21
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
- BUILD-9545 Fix: Remove typo 'I' in jitter calculation by @Tim-Pohlmann in #18
- BUILD-9518: Add support for macos in cache action by @jayadeep-km-sonarsource in #19
New Contributors
- @Tim-Pohlmann made their first contribution in #18
- @jayadeep-km-sonarsource made their first contribution in #19
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- PREQ-2280 improve cache reliability by @mikolaj-matuszny-ext-sonarsource in #17
Full Changelog: 1.0.1...v1.0.2
1.0.1
What's Changed
- BUILD-8085 Update README.md by @julien-carsique-sonarsource in #11
- BUILD-8573 Add additional logging by @mikolaj-matuszny-ext-sonarsource in #12
- BUILD-8605 Include mise version by @mikolaj-matuszny-ext-sonarsource in #14
- BUILD-8573 Improve pre-commit, license changes by @mikolaj-matuszny-ext-sonarsource in #15
- BUILD-8875: Migrate to standardized GitHub runner names by @SonarTech in #16
New Contributors
- @julien-carsique-sonarsource made their first contribution in #11
- @SonarTech made their first contribution in #16
Full Changelog: 1.0.0...1.0.1