You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ There is also a new sub-action, `actions/upload-artifact/merge`. For more info,
64
64
Due to how Artifacts are created in this new version, it is no longer possible to upload to the same named Artifact multiple times. You must either split the uploads into multiple Artifacts with different names, or only upload once. Otherwise you _will_ encounter an error.
65
65
66
66
3. Limit of Artifacts for an individual job. Each job in a workflow run now has a limit of 500 artifacts.
67
+
4. With `v4.4` and later, hidden files are excluded by default.
67
68
68
69
For assistance with breaking changes, see [MIGRATION.md](docs/MIGRATION.md).
69
70
@@ -107,6 +108,10 @@ For assistance with breaking changes, see [MIGRATION.md](docs/MIGRATION.md).
107
108
# Does not fail if the artifact does not exist.
108
109
# Optional. Default is 'false'
109
110
overwrite:
111
+
112
+
# Whether to include hidden files in the provided path in the artifact
Several behavioral differences exist between Artifact actions `v3` and below vs `v4`. This document outlines common scenarios in `v3`, and how they would be handled in `v4`.
Note that this will download all artifacts to a temporary directory and reupload them as a single artifact. For more information on inputs and other use cases for `actions/upload-artifact/merge@v4`, see [the action documentation](../merge/README.md).
211
+
212
+
## Hidden Files
213
+
214
+
By default, hidden files are ignored by this action to avoid unintentionally uploading sensitive
215
+
information.
216
+
217
+
In versions of this action before v4.4.0, these hidden files were included by default.
218
+
219
+
If you need to upload hidden files, you can use the `include-hidden-files` input.
220
+
221
+
```yaml
222
+
jobs:
223
+
upload:
224
+
runs-on: ubuntu-latest
225
+
steps:
226
+
- name: Create a Hidden File
227
+
run: echo "hello from a hidden file" > .hidden-file.txt
228
+
- name: Upload Artifact
229
+
uses: actions/upload-artifact@v3
230
+
with:
231
+
path: .hidden-file.txt
232
+
```
233
+
234
+
235
+
```diff
236
+
jobs:
237
+
upload:
238
+
runs-on: ubuntu-latest
239
+
steps:
240
+
- name: Create a Hidden File
241
+
run: echo "hello from a hidden file" > .hidden-file.txt
0 commit comments