File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11name : .NET
22
3+ # on:
4+ # release:
5+ # types: [published]
36on :
4- release :
5- types : [published]
7+ push :
68
79jobs :
810 build :
@@ -14,12 +16,12 @@ jobs:
1416 - name : Setup .NET
1517 uses : actions/setup-dotnet@v1
1618 with :
17- dotnet-version : 3.1 .x
19+ dotnet-version : 8.0 .x
1820 - name : Restore dependencies
1921 run : dotnet restore
2022 - name : Build
2123 run : dotnet build --no-restore
2224 - name : Create Package for Nuget.org\
2325 run : dotnet pack
24- - name : Publish Package to Nuget.org
25- run : dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Debug/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
26+ # - name: Publish Package to Nuget.org
27+ # run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Debug/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments