Replace deprecated command with environment file#10289
Replace deprecated command with environment file#10289reta merged 1 commit intoopensearch-project:mainfrom jongwooo:chore/replace-deprecated-command-with-environment-file
Conversation
Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
Compatibility status:Checks if related components are compatible with change 876b09a Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git] |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #10289 +/- ##
============================================
- Coverage 71.18% 71.15% -0.03%
+ Complexity 58241 58224 -17
============================================
Files 4830 4830
Lines 274592 274592
Branches 40020 40020
============================================
- Hits 195469 195396 -73
- Misses 62701 62811 +110
+ Partials 16422 16385 -37 |
Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com> (cherry picked from commit 2098975) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 2098975) Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…10289) Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
…10289) Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
…10289) Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
…10289) Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
Update
.github/workflows/lucene-snapshots.ymlto use environment file instead of deprecatedset-outputcommand.For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
I found the workflow file that use
set-outputcommand through the following command:AS-IS
echo "::set-output name=REVISION::$(git rev-parse --short HEAD)"TO-BE
echo "REVISION=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUTRelated Issues
Resolves #10288
Check List
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.