File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - name : Checkout
1616 uses : actions/checkout@v6
1717
18+ - name : Setup .NET SDK
19+ uses : actions/setup-dotnet@v5
20+ with :
21+ # Use the .NET SDK from global.json in the root of the repository.
22+ global-json-file : global.json
23+
1824 - name : Extract version (without v)
1925 id : version
2026 run : |
Original file line number Diff line number Diff line change 1212 - name : Checkout
1313 uses : actions/checkout@v6
1414
15+ - name : Setup .NET SDK
16+ uses : actions/setup-dotnet@v5
17+ with :
18+ # Use the .NET SDK from global.json in the root of the repository.
19+ global-json-file : global.json
20+
1521 - name : Extract version (without v)
1622 id : version
1723 run : |
2834 echo "Syncing version: $VERSION"
2935
3036 - name : Build and Pack as .NET tool
31- uses : devcontainers/ci@v0.3
32- with :
33- runCmd : |
34- dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }}
37+ run : dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }}
3538
36- - name : Publish to NuGet (optional)
39+ - name : Publish to NuGet
3740 run : dotnet nuget push ./artifacts/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments