-
Couldn't load subscription status.
- Fork 354
[Infra] Fix quotes in curl command for artifact download #3101
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
Conversation
Use double quotes so that environment variables are expanded.
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.
Pull Request Overview
Fixes shell variable expansion in a GitHub Actions workflow by changing single quotes to double quotes in a curl command's output path parameter, ensuring environment variables are properly expanded instead of being treated as literal strings.
- Fixed shell variable expansion issue in curl command for artifact download
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3101 +/- ##
==========================================
- Coverage 69.88% 69.75% -0.13%
==========================================
Files 420 430 +10
Lines 16566 16617 +51
==========================================
+ Hits 11577 11592 +15
- Misses 4989 5025 +36 Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Use double quotes so the environment variables are expanded. See open-telemetry/opentelemetry-dotnet-contrib#3101.
Changes
Use double quotes so that environment variables are expanded.
Otherwise the files are downloaded to the literal path
${GITHUB_WORKSPACE}/artifacts/${GITHUB_REF_NAME}-packages.zip.Merge requirement checklist
Unit tests added/updatedAppropriateCHANGELOG.mdfiles updated for non-trivial changesChanges in public API reviewed (if applicable)