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 19
19
dotnet-version : 3.0.100
20
20
- name : Build with dotnet
21
21
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