[bug] v2.0 used with compression level 0
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github-actions, typescript
Research direction
Start by locating the upload-artifact code that handles compression-level and selects the ZIP version. Reproduce the issue by uploading a directory with compression-level: 0, then verify that the output matches zip by using v1.0 rather than v2.0.
Written by the indexing model from the issue text.
Description
What happened?
It's common practice to use v1.0 when only storing files (compression level 0) and this is the behavior of zip, but this action always uses v2.0
What did you expect to happen?
Output to match what would happen with zip
How can we reproduce it?
Upload a directory with compression-level: 0
Anything else we need to know?
Would be a behavior change, but shouldn't break anything since most tools that support v2.0 will support v1.0
What version of the action are you using?
v7.0.1
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response
- Dominant language
- TypeScript
- Stars
- 4.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from actions/upload-artifact
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 84/100
actions/upload-artifact#816 · 1 comment ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 86/100
actions/upload-artifact#803 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 72/100
actions/upload-artifact#425 · 2 comments ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 62/100
actions/upload-artifact#392 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
actions/upload-artifact#819 ·
All issues in actions/upload-artifact
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100