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

package building is failing with "Error: Unable to download artifact(s): Artifact not found for name: linux-tarball" #6981

Closed
derekbruening opened this issue Sep 12, 2024 · 2 comments · Fixed by #6983

Comments

@derekbruening
Copy link
Contributor

The last weekly cronbuild and the manual retry I kicked off both failed with "Error: Unable to download artifact(s): Artifact not found for name: linux-tarball". Needs investigation as the Linux build is marked green.

https://github.com/DynamoRIO/dynamorio/actions/workflows/ci-package.yml

@abhinav92003
Copy link
Contributor

Is the issue that we're not using the same version for the upload and download actions?

    - name: Upload Artifacts
      uses: actions/upload-artifact@v2
      with:
        name: linux-tarball

and

    - name: Download Linux
      uses: actions/[email protected]
      with:
        name: linux-tarball

@abhinav92003
Copy link
Contributor

Ah: #6964 bumped the download-artifact version but not the upload-artifact.

abhinav92003 added a commit that referenced this issue Sep 12, 2024
abhinav92003 added a commit that referenced this issue Sep 13, 2024
…act (#6983)

Changes the version used for upload-artifact and download-artifact
actions to the current one recommended at
https://github.com/actions/upload-artifact and
https://github.com/actions/download-artifact.

For these two actions, "v4" points to the latest available v4.x.x
release, as evidenced by the commit hash for the versions at
https://github.com/actions/download-artifact/tags and
https://github.com/actions/upload-artifact/tags. So we would still be
using the latest version as suggested by the security advisory for
download-artifact (GHSA-cxww-7g56-2vh6).

PR #6964 bumped the download-artifact version but not the
upload-artifact which caused a mismatch and the #6981 issue.

Test run worked fine:
https://github.com/DynamoRIO/dynamorio/actions/runs/10835746272

 Fixes: #6981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants