Update versions of actions/download-artifact and actions/upload-artifact #4979
Unanswered
alxbilger
asked this question in
Build / Config / Environment
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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/[email protected]
(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