Skip to content

Commit 2b2efb2

Browse files
authored
Update dotnet-desktop.yml
1 parent 57e386a commit 2b2efb2

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,10 @@ jobs:
2929
run: dotnet build --configuration Release --no-restore
3030

3131
- name: Publish project
32-
run: dotnet publish --configuration Release --output ./output --no-build
33-
34-
- name: Archive build files
35-
if: success()
36-
run: |
37-
mkdir -p build/${{ matrix.os }}
38-
cp -r ./output/* build/${{ matrix.os }}/
32+
run: dotnet publish --configuration Release --output ./output/${{ matrix.os }}
3933

4034
- name: Upload build artifacts
41-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4.6.2
4236
with:
4337
name: ${{ matrix.os }}-build
44-
path: build/${{ matrix.os }}
38+
path: output/${{ matrix.os }}

0 commit comments

Comments
 (0)