actions / actions/toolkit

artifact: Parameter like `skip_unpack` in downloadOptions to keep the artifact archives packed

Open
#1,314 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the enhancement
It would be nice to have the option to provide an additional parameter to downloadOptions for the "download artifact" functions that will keep the artifact archives intact/compressed.

This way, when also implemented in https://github.com/actions/download-artifact, releasing build artifacts as Github releases is less tedious; No need to repack the extracted archives when the upload-artifact step already did that for us.

Code snippet
Not by me, but the creator of the feature request on actions/download-artifact forked the ?old? toolkit repo and implemented such feature: https://github.com/austinsasko/toolkit/commits/main

Additional information
Here is the same feature request from the consuming action -> https://github.com/actions/download-artifact/issues/143

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the toolkit's artifact download functions and their downloadOptions handling, then compare the linked fork implementation and actions/download-artifact issue. Done means an additional option preserves downloaded artifact archives in their compressed form without requiring repacking.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.