Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 23 Jul 18:37
· 7 commits to refs/heads/main since this release
Major Version Update for Artifacts @milldr (#1682) # Breaking Changes!

Context

The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

ℹ️ However, this is a major update that includes breaking changes. Artifacts created with versions v3 and below are not compatible with the v4 actions. Uploads and downloads must use the same major actions versions. There are also key differences from previous versions that may require updates to your workflows.

https://github.com/actions/upload-artifact/releases/tag/v4.0.0

TLDR

  1. The version of @actions/artifact used to upload and download an artifact must match.
  2. We upload the Terraform plan file artifact with cloudposse/github-action-atmos-terraform-plan
  3. We want to upgrade the version of upload-artifact in that action, so we must also upgrade in this action

What do I need to do?

Bump both actions to these versions once both major upgrades are released:

cloudposse/github-action-atmos-terraform-drift-detection@v2
cloudposse/github-action-atmos-terraform-plan@3

PR Notes

what

  • Corrected structure for downloadArtifact for usage with v2 of @actions/artifact
  • Replaced all actions used in tests with deprecated versions of Node
  • Rebuild node modules

why

references