Attaching namesake files generates only one occurrence locally
If two attached files in a given step share the same filename, there is no way to distinguish them and only one is kept in the local store.
For example, under Linux, in the case of a tree like below:
my_temp/ │ ├── file.txt ├── folder1/ │ └── object1 ├── folder2/ │ └── object1 ├── folder3/ │ └── object1/ ├── object1 └── tata.csv
The next run command:
run: echo "::attach::$(pwd)/my_temp/folder1/object1"; echo "::attach::$(pwd)/my_temp/folder2/object1"
Only create one file locally:
0bb13681-4536-4354-94d5-fa580923999a_11_object1
The file contains:
folder2_object1
We expected to have 2 object1 files.
To check also under Windows?
Edited by Jean-Marc BELORGANE