Skip to content

Commit ad2f4a9

Browse files
authored
Update workflows.yaml
1 parent 74e2fdb commit ad2f4a9

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

.github/workflows/workflows.yaml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,13 @@ jobs:
7575
# Use always() to always run this step to publish test results when there are test failures
7676
if: ${{ always() }}
7777

78-
# Upload build output
79-
- name: Upload build output for NuGet
80-
if: matrix.configuration == 'Release'
78+
# Upload build output for dlls and nuget
79+
- name: Upload build output for Unity & NuGet
8180
uses: actions/upload-artifact@v4
8281
with:
83-
name: build-output-${{ matrix.define }}
84-
path: src/Arch/bin/Release/net8.0/
85-
86-
# Copy build dlls to folder
87-
- name: Export DLLs for Unity
88-
run: |
89-
mkdir -p ./dlls/${{ matrix.configuration }}-${{ matrix.define }}
90-
cp src/Arch/bin/${{ matrix.configuration }}/net8.0/Arch.dll ./dlls/${{ matrix.configuration }}-${{ matrix.define }}/
91-
cp src/Arch/bin/${{ matrix.configuration }}/net8.0/Arch.xml ./dlls/${{ matrix.configuration }}-${{ matrix.define }}/ || true
92-
cp src/Arch/bin/${{ matrix.configuration }}/net8.0/Arch.pdb ./dlls/${{ matrix.configuration }}-${{ matrix.define }}/ || true
93-
94-
# Upload build dlls
95-
- name: Upload Unity DLLs as artifact
96-
uses: actions/upload-artifact@v4
97-
with:
98-
name: dlls-${{ matrix.configuration }}-${{ matrix.define }}
99-
path: ./dlls/${{ matrix.configuration }}-${{ matrix.define }}
82+
name: build-output-${{ matrix.configuration }}-${{ matrix.define }}
83+
path: |
84+
src/Arch/bin/${{ matrix.configuration }}/net8.0/
10085
10186
# Packing nugets
10287
pack:
@@ -123,7 +108,7 @@ jobs:
123108
- name: Download build output
124109
uses: actions/download-artifact@v4
125110
with:
126-
name: build-output-${{ matrix.define }}
111+
name: build-output-Release-${{ matrix.define }}
127112
path: src/Arch/bin/Release/net8.0/
128113

129114
# Packing

0 commit comments

Comments
 (0)