Skip to content

Commit 0c3693d

Browse files
committed
Updating GitHub actions. Preparing for v20.1.1
1 parent b0cecd1 commit 0c3693d

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/githubPackages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: GitHub packages NuGet generation
33
on:
44
push:
55
branches:
6-
- develop
6+
- master
77

88
jobs:
99
build:
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build solution and generate NuGet package
2323
run: |
2424
cd src\netstandard\
25-
dotnet pack -c Release -o out /p:Version=20.0.${env:BUILD_NUMBER}-develop
25+
dotnet pack -c Release -o out /p:Version=21.0.${env:BUILD_NUMBER}-develop
2626
2727
- name: Install NuGet client
2828
uses: warrenbuckley/Setup-Nuget@v1
@@ -31,4 +31,4 @@ jobs:
3131
run: nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Code-Sharp/index.json -Username Code-Sharp -Password ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Push generated package to GitHub registry
34-
run: nuget push .\**\out\*.nupkg -Source "GPR" -SkipDuplicate
34+
run: nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate

.github/workflows/nugetGallery.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,10 @@ jobs:
2525
run: nuget sources add -Name "NuGet Gallery" -Source https://api.nuget.org/v3/index.json
2626

2727
- name: Push generated package to NuGet gallery
28-
run: nuget push .\**\out\*.nupkg -Source "NuGet Gallery" -SkipDuplicate -k ${{ secrets.NUGET_TOKEN }}
28+
run: nuget push .\out\*.nupkg -Source "NuGet Gallery" -SkipDuplicate -k ${{ secrets.NUGET_TOKEN }}
29+
30+
- name: Add private GitHub registry to NuGet
31+
run: nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Code-Sharp/index.json -Username Code-Sharp -Password ${{ secrets.GITHUB_TOKEN }}
32+
33+
- name: Push generated package to GitHub registry
34+
run: nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
<RepositoryUrl>https://github.com/Code-Sharp/WampSharp/</RepositoryUrl>
2323
<projectUrl>https://wampsharp.net/</projectUrl>
2424
<PackageTags>websockets wampws rpc pubsub wampv2</PackageTags>
25-
<VersionPrefix>20.0.0</VersionPrefix>
25+
<VersionPrefix>20.1.1</VersionPrefix>
2626
</PropertyGroup>
2727
</Project>

0 commit comments

Comments
 (0)