File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Publish nuget packages
33on :
44 release :
55 types : [created]
6+ push :
7+ branches : [ main ]
68
79jobs :
810 build :
@@ -25,10 +27,10 @@ jobs:
2527 - name : Pack
2628 run : |
2729 mkdir artifacts
28- dotnet pack -c Release -o artifacts --no-restore OgcApi.Net/OgcApi.Net.csproj -p:PackageVersion=${{ github.event.release.tag_name }}
29- dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.SqlServer/OgcApi.Net.SqlServer.csproj -p:PackageVersion=${{ github.event.release.tag_name }}
30- dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.PostGis/OgcApi.Net.PostGis.csproj -p:PackageVersion=${{ github.event.release.tag_name }}
31- dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.MbTiles/OgcApi.Net.MbTiles.csproj -p:PackageVersion=${{ github.event.release.tag_name }}
30+ dotnet pack -c Release -o artifacts --no-restore OgcApi.Net/OgcApi.Net.csproj -p:PackageVersion=1.0.1
31+ dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.SqlServer/OgcApi.Net.SqlServer.csproj -p:PackageVersion=1.0.1
32+ dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.PostGis/OgcApi.Net.PostGis.csproj -p:PackageVersion=1.0.1
33+ dotnet pack -c Release -o artifacts --no-restore OgcApi.Net.MbTiles/OgcApi.Net.MbTiles.csproj -p:PackageVersion=1.0.1
3234 - name : Publish
3335 run : |
3436 dotnet nuget push "./artifacts/*.nupkg" --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}}
You can’t perform that action at this time.
0 commit comments