mirror of
https://code.forgejo.org/actions/upload-artifact.git
synced 2025-05-24 09:54:52 +00:00
Implement follow-symlinks boolean action input
This commit implements a new boolean input to the action, `follow-symlinks`. This option configures whether the glob expansion will follow any symlinks it finds when determining the set of of files to be archived into the artifact. The default value of the option, which preserves the existing behaviour, is `true`. When set to true, symbolic links will be be followed and expanded If `false`, symbolic links will be included in the archived artifact verbatim. Users may wish to set this option to false if their artifact contains internally-referencing symlinks which would result in significant bloat (and semantic change!) in the source files when the artifact is created. Resolves: actions#93.
This commit is contained in:
parent
ee69f02b3d
commit
92b91569e6
7 changed files with 62 additions and 15 deletions
|
@ -23,6 +23,12 @@ inputs:
|
|||
|
||||
Minimum 1 day.
|
||||
Maximum 90 days unless changed from the repository settings page.
|
||||
follow-symlinks:
|
||||
description: >
|
||||
Whether symbolic links should be followed and expanded when building the set of files to be
|
||||
archived (true), or if symbolic links should be included in the archived artifact verbatim
|
||||
(false).
|
||||
default: true
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue