v3.0.0
cloudposse-releaser
released this
23 Jul 18:37
·
7 commits
to refs/heads/main
since this release
Bump `upload-artifact` to `v4` @milldr (#82)
## breaking changes!Updating upload-artifact
changes the structure of artifacts!
If you are using this action to create artifacts to be used by Atmos Terraform Drift Detection workflows with github-action-atmos-terraform-drift-detection, then you will need to upgrade both actions to use the following major versions:
cloudposse/github-action-atmos-terraform-drift-detection@v2
cloudposse/github-action-atmos-terraform-plan@3
For more details, please see: cloudposse/github-action-atmos-terraform-drift-detection#1682
what
- Update upload-artifact action to version 4
why
- The major versions of
actions/artifact
used to upload or download an artifact must match - Wrong upload version with v3: https://github.com/actions/upload-artifact/blob/v3/package.json#L32
- Correct upload version with v4: https://github.com/actions/upload-artifact/blob/v4/package.json#L32
- Download version, matches v4: https://github.com/cloudposse/github-action-atmos-terraform-drift-detection/blob/main/package.json#L44
- This fixes the following error:
throw new Error(`Unable to find any artifacts for the associated workflow`);