File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 88 pull_request :
99 branches : [ main ]
1010
11- env :
12- DOTNET_VERSION : ' 9.0.x'
13-
1411jobs :
1512 build :
1613
@@ -21,11 +18,10 @@ jobs:
2118
2219 steps :
2320 - uses : actions/checkout@v4
24-
21+
22+ # This uses the latest version of dotnet cli since we don't specify a specific version number here
2523 - name : Setup .NET
2624 uses : actions/setup-dotnet@v4
27- with :
28- dotnet-version : ${{ env.DOTNET_VERSION }}
2925
3026 # Restore nuget packages
3127 - name : Restore dependencies
4743 env :
4844 GOOGLE_SERVICE_ACCOUNT : ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
4945 GOOGLE_SPREADSHEET_ID : ${{ secrets.GOOGLE_SPREADSHEET_ID }}
50- GOOGLE_JSON_CREDS : ${{ secrets.GOOGLE_JSON_CREDS }}
46+ GOOGLE_JSON_CREDS : ${{ secrets.GOOGLE_JSON_CREDS }}
Original file line number Diff line number Diff line change 77 # Allows you to run this workflow manually from the Actions tab
88 workflow_dispatch :
99
10- env :
11- DOTNET_VERSION : ' 9.0.x'
12-
1310jobs :
1411 build :
1512
@@ -20,11 +17,10 @@ jobs:
2017
2118 steps :
2219 - uses : actions/checkout@v4
23-
20+
21+ # Uses the latest version of dotnet since we don't specific a version here
2422 - name : Setup .NET
2523 uses : actions/setup-dotnet@v4
26- with :
27- dotnet-version : ${{ env.DOTNET_VERSION }}
2824
2925 # Restore nuget packages
3026 - name : Restore dependencies
5046
5147 # Publish the Nuget file to Nuget.org
5248 - name : PushNuget
53- run : dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
49+ run : dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
You can’t perform that action at this time.
0 commit comments