File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1919 dotnet-version : 3.0.100
2020 - name : Build with dotnet
2121 run : dotnet build --configuration Release
22+
23+ publish :
24+ runs-on : windows-latest
25+ needs : build
26+ steps :
27+ - uses : actions/checkout@v1
28+ - name : Setup .NET Core
29+ uses : actions/setup-dotnet@v1
30+ with :
31+ dotnet-version : 3.0.100
32+ - name : Pack
33+ run : dotnet pack -c Release --version-suffix preview-${{ github.sha }}
34+ - name : Add NuGet source
35+ run : nuget sources Add -Name "GPR" -Source "https://nuget.pkg.github.com/mysql-net/index.json" -UserName bgrainger -Password ${{ secrets.GITHUB_TOKEN }}
36+ - name : Publish to GPR
37+ run : nuget push src\PlaygroundLibrary\bin\Release\PlaygroundLibrary.0.1.0-preview-${{ github.sha }}.nupkg -Source GPR
You can’t perform that action at this time.
0 commit comments