-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fix deprecated GitHub upload artifact action version #1886
base: main
Are you sure you want to change the base?
Fix deprecated GitHub upload artifact action version #1886
Conversation
Signed-off-by: YANGDB <[email protected]>
env: | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section can be entirely removed as it is already deprecated by github.
@@ -58,7 +61,7 @@ jobs: | |||
cp -r ./build/distributions/*.zip opensearch-observability-builds/ | |||
|
|||
- name: Upload Artifacts | |||
uses: actions/upload-artifact@v1 | |||
uses: actions/upload-artifact@v3-node20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use v4, as v3 has been deprecated for now.
@@ -90,7 +94,7 @@ jobs: | |||
cp -r ./build/distributions/*.zip opensearch-observability-builds/ | |||
|
|||
- name: Upload Artifacts | |||
uses: actions/upload-artifact@v1 | |||
uses: actions/upload-artifact@v3-node20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
Description
fix deprecated version of
actions/upload-artifact: v1
see https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
To introduce additional start command for all CI build which rely on the OpnSearch Docker image, as Github rollout the deprecation of the Node 16 on all it's CI-runner, as the result all existing Github which rely on the old version of Node.JS (Ex: actions/checkout@v3) failed due to the following errors:
The issue has been discovered over opensearch-project/opensearch-build#5178 and fix has been verified and applied on multiple OpenSearch plugin, such as:
Related Issues
Partially resolves: opensearch-project/sql#3168
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.