Skip to content

Commit ac803d1

Browse files
committed
Publish to NuGet in CI build
1 parent 0513b46 commit ac803d1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ jobs:
4040
./artifacts/*.nupkg
4141
./artifacts/*.snupkg
4242
if-no-files-found: warn
43+
- name: Publish to NuGet
44+
if: github.event_name == 'push'
45+
run: dotnet nuget push "./artifacts/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }}

F23.Syncerbell.sln

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2323
EndProject
2424
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExampleInMemoryQueue", "ExampleInMemoryQueue\ExampleInMemoryQueue.csproj", "{F8782B44-7714-4AC9-9F58-3B1D8BACBE79}"
2525
EndProject
26+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{5FA57817-B656-4CA6-9B08-C45873C1C568}"
27+
ProjectSection(SolutionItems) = preProject
28+
.github\copilot-instructions.md = .github\copilot-instructions.md
29+
EndProjectSection
30+
EndProject
31+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{D460087F-C59A-4060-8379-3E11F41118C9}"
32+
ProjectSection(SolutionItems) = preProject
33+
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
34+
EndProjectSection
35+
EndProject
2636
Global
2737
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2838
Debug|Any CPU = Debug|Any CPU
@@ -57,5 +67,7 @@ Global
5767
GlobalSection(NestedProjects) = preSolution
5868
{BE825FA8-9B20-40C8-B233-65250AAD268D} = {7C18AD40-956C-46D5-96E5-4DA767C38067}
5969
{F8782B44-7714-4AC9-9F58-3B1D8BACBE79} = {7C18AD40-956C-46D5-96E5-4DA767C38067}
70+
{5FA57817-B656-4CA6-9B08-C45873C1C568} = {51D4BEEE-AF61-46A3-9328-239AE103AD6C}
71+
{D460087F-C59A-4060-8379-3E11F41118C9} = {5FA57817-B656-4CA6-9B08-C45873C1C568}
6072
EndGlobalSection
6173
EndGlobal

0 commit comments

Comments
 (0)