Skip to content

Commit 0c074d7

Browse files
committed
Add Pack and Upload artifacts steps to ci.yml
1 parent 3de19d3 commit 0c074d7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Test
1+
name: Build, Test and Pack
22

33
on:
44
push:
@@ -49,3 +49,12 @@ jobs:
4949

5050
- name: Test
5151
run: dotnet test --filter '(Execution!=Manual)' --no-build --configuration ${{ matrix.configuration }}
52+
53+
- name: Pack
54+
run: dotnet pack --no-build --configuration ${{ matrix.configuration }}
55+
56+
- name: Upload artifacts
57+
uses: actions/upload-artifact@v4
58+
with:
59+
name: Packages-${{ matrix.configuration }}-${{ runner.os }}
60+
path: artifacts/

0 commit comments

Comments
 (0)