Skip to content

Commit efb250b

Browse files
committed
Upload NuGet packages
1 parent 815a6d6 commit efb250b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/libs-build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
run: dotnet restore libs.core.sln
2222
- name: Build .NET Core libraries and create packages
2323
run: dotnet pack libs.core.sln /p:noSmc=true --no-restore -c Release -o ${{ github.workspace }}/packages
24-
24+
- name: Upload .nupkg
25+
uses: actions/upload-artifact@v3
26+
with:
27+
name: libs.core
28+
path: ${{ github.workspace }}/packages/*.nupkg
29+
retention-days: 1
2530

2631
build-framework:
2732
runs-on: windows-latest
@@ -38,3 +43,9 @@ jobs:
3843
run: msbuild libs.framework.sln /p:Configuration=Release
3944
- name: Create packages
4045
run: msbuild libs.framework.sln /p:Configuration=Release -t:pack /p:PackageOutputPath=${{ github.workspace }}/packages
46+
- name: Upload .nupkg
47+
uses: actions/upload-artifact@v3
48+
with:
49+
name: libs.framework
50+
path: ${{ github.workspace }}/packages/*.nupkg
51+
retention-days: 1

0 commit comments

Comments
 (0)