Skip to content

Releases: SonarSource/gh-action_cache

v1.1.4

03 Feb 14:55

Choose a tag to compare

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

Full Changelog: v1.1.3...v1.1.4

v1.1.3

05 Jan 08:07

Choose a tag to compare

What's Changed

Full Changelog: v1.1.2...v1.1.3

v1.1.2

17 Dec 09:00

Choose a tag to compare

What's Changed

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

12 Dec 18:10

Choose a tag to compare

What's Changed

Bug Fixes

⚠️ The action now stores AWS credentials with https://github.com/aws-actions/configure-aws-credentials/ which . This can conflict with other usage.
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

12 Dec 14:41

Choose a tag to compare

What's Changed

New Features

Improvements

Full Changelog: v1.0.5...v1.1.0

v1.0.5

03 Dec 10:40

Choose a tag to compare

What's Changed

Bug Fixes

Full Changelog: v1.0.4...v1.0.5

v1.0.4

11 Nov 12:37

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

30 Oct 10:26
cb9741e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.0.3

v1.0.2

03 Oct 10:22

Choose a tag to compare

What's Changed

Full Changelog: 1.0.1...v1.0.2

1.0.1

15 Sep 09:53

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.0.1