Skip to content

Commit 8102fdd

Browse files
author
Petr Sramek
committed
upload download artifact
1 parent c7ea34c commit 8102fdd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
run: dotnet restore
2424
- name: Build
2525
run: dotnet build --no-restore
26-
- name: Test
27-
run: dotnet test --no-build --verbosity normal
26+
- name: Upload
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: build
30+
path: build
2831

2932
test:
3033
needs: [build]
@@ -37,6 +40,11 @@ jobs:
3740
uses: actions/setup-dotnet@v3
3841
with:
3942
dotnet-version: 9.x
43+
- uses: actions/download-artifact@v4
44+
- name: Display structure of downloaded files
45+
with:
46+
path: build
47+
run: ls -R
4048
- name: Test
4149
run: dotnet test --no-build --verbosity normal
4250

0 commit comments

Comments
 (0)