Java CI/CD file

HI i seem to be getting a build fail which i dont understand with regards to the java ci/cd file for the bot. It says “Missing download info for actions/upload-artifact@v2”. Anyone know how to fix this?

1 Like

Hi Ria,

It looks like we’ve missed something. The error you’re seeing — Missing download info for actions/upload-artifact@v2 — happens because the upload-artifact and download-artifact actions have been deprecated.

To fix this, you’ll need to upgrade actions/upload-artifact@v2 and actions/download-artifact@v2 to v4. You can do this by editing the language file used in your CI/CD pipeline (yes, it says not to edit it, but in this case, it’s necessary).

Here’s a helpful link about the action deprecation: Deprecation Notice (reminder): v3 of the artifact actions 📣 (updated) · community · Discussion #142581 · GitHub

Once you’ve updated the version numbers, your build should run fine! We’ll also be updating the language files soon to reflect this change, so stay tuned.

image
image

Feel free to reach out if you have any further questions!

-Neil

1 Like