Update versions of actions/download-artifact and actions/upload-artifact #4979
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It concerns SOFA plugins relying on GitHub actions.
Both actions are massively used in SOFA plugins. Most of them still use the v2. They need to be upgraded
In some SOFA plugins, GitHub has used a bot to upgrade
actions/download-artifact
. Unfortunately, it's only half of the job.actions/upload-artifact
must be upgraded too. There is even an incompatibility betweenactions/upload-artifact@v2
andactions/download-artifact@v4.1.7
(the version suggested by the bot). This incompatibility make the build failing.Unfortunately, the new versions of the actions have new rules: some characters are forbidden in the name of the artifact to avoid cross-platform problems. That is why the name of the artifact must be sanitized first.
Here are the changes I recommend:
actions/download-artifact
from v2 to v4.1.7actions/upload-artifact
from v2 to v4.4.0" : < > | * ? \r \n \ /
)Examples where those changes have been applied:
Beta Was this translation helpful? Give feedback.
All reactions