Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] upgrade actions/upload-artifact and actions/download-artifact to v4 #31236

Conversation

andrzej-stencel
Copy link
Member

@andrzej-stencel andrzej-stencel commented Feb 13, 2024

Description:

The upgrade of actions/upload-artifact and actions/download-artifact is a breaking change.

  1. Both actions need to be upgraded together, as downloading artifacts uploaded with previous version does not work.
  2. A breaking change in upload-artifact is that you cannot upload to the same artifact name twice.

The second point lead to the changes in this pull request. I have modified the names of artifacts to hopefully prevent conflicts.

Link to tracking Issue:

#30102

Testing:

The changes to the build-and-test and e2e-test workflows are tested in this PR's checks. The changes to the load-test workflow can only be tested after merging to main, I'm afraid, as this is when this workflow is triggered.

Documentation:

No changes needed.

This prevents failures after updating the upload-artifact action to v4.
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks @astencel-sumo!

@codeboten codeboten merged commit 76e10a3 into open-telemetry:main Feb 13, 2024
142 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 13, 2024
@andrzej-stencel andrzej-stencel deleted the update-upload-download-artifact-actions branch February 13, 2024 22:08
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…act` to `v4` (open-telemetry#31236)

The upgrade of `actions/upload-artifact` and `actions/download-artifact`
is a breaking change.

1. Both actions need to be upgraded together, as downloading artifacts
uploaded with previous version does not work.
2. A breaking change in `upload-artifact` is that you cannot upload to
the same artifact name twice.

The second point lead to the changes in this pull request. I have
modified the names of artifacts to hopefully prevent conflicts.

**Link to tracking Issue:**

open-telemetry#30102

**Testing:**

The changes to the `build-and-test` and `e2e-test` workflows are tested
in this PR's checks. The changes to the `load-test` workflow can only be
tested after merging to main, I'm afraid, as this is when this workflow
is triggered.
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.

None yet

2 participants