apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.
https://rocketmq.apache.org/
Apache License 2.0
21.13k stars 11.64k forks source link

[Bug] Unable to download build after updating @actions/upload-artifact to v4 #8707

Closed chi3316 closed 1 week ago

chi3316 commented 1 week ago

Before Creating the Bug Report

Runtime platform environment

Github Action

RocketMQ version

branch: develop

JDK Version

No response

Describe the Bug

After updating the @actions/upload-artifact GitHub Action to version 4, the workflow failed to download the build artifacts. I subsequently updated the @actions/download-artifact to version 4, but the issue persists, and the build artifacts are still not downloaded correctly.

image Possible reasons for this problem: image

Steps to Reproduce

  1. Use @actions/upload-artifact@v4 in a GitHub workflow to upload a build artifact.
  2. Use @actions/download-artifact@v4 in a subsequent step or another workflow to download the artifact.
  3. Run the workflow.

What Did You Expect to See?

The build artifacts should be successfully downloaded by @actions/download-artifact.

What Did You See Instead?

The build artifacts are not being downloaded, causing the workflow to fail.

Additional Context

No response