Skip to content

Commit db88ee0

Browse files
committed
Preserve directory structure in installer artifacts
Signed-off-by: Ilya Leoshkevich <[email protected]>
1 parent 8511ac3 commit db88ee0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ jobs:
241241
with:
242242
name: installer-${{ matrix.arch }}
243243
path: |
244+
# Use a dummy file to preserve the directory structure.
245+
# See https://github.com/actions/upload-artifact/issues/174 for details.
246+
dotnet-versions
244247
output/
245248
release:
246249
needs: installer

.github/workflows/dotnet.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
{%- if projects[i] != 'installer' %}
7373
local-downloads/
7474
local-packages/
75+
{%- else %}
76+
# Use a dummy file to preserve the directory structure.
77+
# See https://github.com/actions/upload-artifact/issues/174 for details.
78+
dotnet-versions
7579
{%- endif %}
7680
output/
7781
{%- endfor %}

0 commit comments

Comments
 (0)